CloneSet522


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.970statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110410
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java
2970
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
410
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java

p.setRefid(new Reference("dummyref"));
try {
  p.setLocation(new File("/a"));
  fail("Can set location in Path that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute when using refid", be.getMessage());
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
70
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java

p.setRefid(new Reference("dummyref"));
try {
  p.setIncludesfile(new File("/a"));
  fail("Can set includesfile in PatternSet that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute when using refid", be.getMessage());
}


Clone AbstractionParameter Count: 2Parameter Bindings

p.setRefid(new Reference("dummyref"));
try {
  p. [[#variable130086c0]](new File("/a"));
  fail( [[#variable130086e0]]);
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute when using refid", be.getMessage());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130086c0]]
setLocation 
12[[#130086c0]]
setIncludesfile 
21[[#130086e0]]
"Can set location in Path that is a reference." 
22[[#130086e0]]
"Can set includesfile in PatternSet that is a reference."