Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 3 | 0.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 188 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/util/ApplicationFiles.java |
2 | 12 | 205 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/util/ApplicationFiles.java |
| |||||
/** * @return file to log execution information to. */ public File getExecutionLogFile() { final String dirPath = _userSettingsDir + File.separator + "logs"; final String logBaseName = "squirrel-sql.log"; if (needExecutionLogCleanup) { // first time through this method in program, so go cleanup // old log files deleteOldFiles(dirPath, logBaseName); needExecutionLogCleanup = false; } return new File(dirPath + File.separator + logBaseName); } |
| |||||
/** * @return file to log JDBC debug information to. */ public File getJDBCDebugLogFile() { final String dirPath = _userSettingsDir + File.separator + "logs"; final String logBaseName = "jdbcdebug.log"; if (needDebugLogCleanup) { // first time through this method in program, so go cleanup // old log files deleteOldFiles(dirPath, logBaseName); needDebugLogCleanup = false; } return new File(dirPath + File.separator + logBaseName); } |
| |||
/** * @return file to log JDBC debug information to. */ /** * @return file to log execution information to. */ public File [[#variable1cd08540]]() { final String dirPath = _userSettingsDir + File.separator + "logs"; final String logBaseName = [[#variable1cd08520]]; if ( [[#variable1cd08460]]) { // first time through this method in program, so go cleanup // old log files deleteOldFiles(dirPath, logBaseName); [[#variable1cd08460]]= false; } return new File(dirPath + File.separator + logBaseName); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd08540]] | getExecutionLogFile |
1 | 2 | [[#1cd08540]] | getJDBCDebugLogFile |
2 | 1 | [[#1cd08520]] | "squirrel-sql.log" |
2 | 2 | [[#1cd08520]] | "jdbcdebug.log" |
3 | 1 | [[#1cd08460]] | needExecutionLogCleanup |
3 | 2 | [[#1cd08460]] | needDebugLogCleanup |