Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.969 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 51 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/ReplaceRegExpTest.java |
2 | 7 | 66 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/ReplaceRegExpTest.java |
| |||||
try { propsFile = new FileInputStream(new File(System.getProperty("root"), PROJECT_PATH + "/replaceregexp.properties")); original.load(propsFile); } finally { if (propsFile != null) { propsFile.close(); propsFile = null; } } |
| |||||
try { propsFile = new FileInputStream(new File(System.getProperty("root"), PROJECT_PATH + "/test.properties")); after.load(propsFile); } finally { if (propsFile != null) { propsFile.close(); propsFile = null; } } |
| |||
try { propsFile = new FileInputStream(new File(System.getProperty("root"), PROJECT_PATH + [[#variable131702a0]])); [[#variable13170280]].load(propsFile); } finally { if (propsFile != null) { propsFile.close(); propsFile = null; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131702a0]] | "/replaceregexp.properties" |
1 | 2 | [[#131702a0]] | "/test.properties" |
2 | 1 | [[#13170280]] | original |
2 | 2 | [[#13170280]] | after |