Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.962 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 1399 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/MiscUtilities.java |
2 | 10 | 1415 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/MiscUtilities.java |
| |||||
if (settingsDir != null) { String toolsPath = constructPath(settingsDir, "jars", "tools.jar"); paths.addElement(toolsPath); if (new File(toolsPath).exists()) { Log.log(Log.DEBUG, MiscUtilities.class , "- is in the user\'s jars folder. Fine."); // jEdit will load it automatically return true; } } //}}} |
| |||||
if (jEditDir != null) { String toolsPath = constructPath(jEditDir, "jars", "tools.jar"); paths.addElement(toolsPath); if (new File(toolsPath).exists()) { Log.log(Log.DEBUG, MiscUtilities.class , "- is in jEdit\'s system jars folder. Fine."); // jEdit will load it automatically return true; } } //}}} |
| |||
if ( [[#variableaed0640]]!= null) { String toolsPath = constructPath( [[#variableaed0640]], "jars", "tools.jar"); paths.addElement(toolsPath); if (new File(toolsPath).exists()) { Log.log(Log.DEBUG, MiscUtilities.class , [[#variableaed0460]]); // jEdit will load it automatically return true; } } //}}} |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#aed0640]] | settingsDir |
1 | 2 | [[#aed0640]] | jEditDir |
2 | 1 | [[#aed0460]] | "- is in the user\'s jars folder. Fine." |
2 | 2 | [[#aed0460]] | "- is in jEdit\'s system jars folder. Fine." |