Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.966 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 65 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/GlobPatternMapperTest.java |
2 | 4 | 81 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/GlobPatternMapperTest.java |
| |||||
String[] result = m.mapFileName("foo.bar"); assertNotNull("Should match foo*", result); assertEquals("only one result for foo.bar", 1, result.length); assertEquals("plonk.bar", result[0]); |
| |||||
String[] result = m.mapFileName("foo.bar"); assertNotNull("Should match foo*bar", result); assertEquals("only one result for foo.bar", 1, result.length); assertEquals("plonk.pling", result[0]); |
| |||
String[] result = m.mapFileName("foo.bar"); assertNotNull( [[#variable13038820]], result); assertEquals("only one result for foo.bar", 1, result.length); assertEquals( [[#variable13038800]], result[0]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13038820]] | "Should match foo*" |
1 | 2 | [[#13038820]] | "Should match foo*bar" |
2 | 1 | [[#13038800]] | "plonk.bar" |
2 | 2 | [[#13038800]] | "plonk.pling" |