Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.980 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 568 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java |
2 | 9 | 581 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java |
| |||||
public void testEqualComparatorViaSelector() { ModifiedSelector s = (ModifiedSelector) getSelector(); ModifiedSelector.ComparatorName compName = new ModifiedSelector.ComparatorName(); compName.setValue("equal"); s.setComparator(compName); try { performTests(s, "TTTTTTTTTTTT"); } finally { s.getCache().delete(); } } |
| |||||
public void _testRuleComparatorViaSelector() { //not yet supported see note in selector ModifiedSelector s = (ModifiedSelector) getSelector(); ModifiedSelector.ComparatorName compName = new ModifiedSelector.ComparatorName(); compName.setValue("rule"); s.setComparator(compName); try { performTests(s, "TTTTTTTTTTTT"); } finally { s.getCache().delete(); } } |
| |||
public void [[#variable1013a120]]() { //not yet supported see note in selector ModifiedSelector s = (ModifiedSelector) getSelector(); ModifiedSelector.ComparatorName compName = new ModifiedSelector.ComparatorName(); compName.setValue( [[#variable1013a1a0]]); s.setComparator(compName); try { performTests(s, "TTTTTTTTTTTT"); } finally { s.getCache().delete(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1013a120]] | testEqualComparatorViaSelector |
1 | 2 | [[#1013a120]] | _testRuleComparatorViaSelector |
2 | 1 | [[#1013a1a0]] | "equal" |
2 | 2 | [[#1013a1a0]] | "rule" |