CloneSet222


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11330.959statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11157
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java
21169
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java
31181
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
57
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java

try {
  f.setRefid(new Reference("dummyref"));
  fail("Can add reference to " + f.getDataTypeName() + " with elements from setIncludes");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute " + "when using refid", be.getMessage());
}
f = getInstance();


Next
Previous
Clone Instance
2
Line Count
11
Source Line
69
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java

try {
  f.setRefid(new Reference("dummyref"));
  fail("Can add reference to " + f.getDataTypeName() + " with nested patternset element.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when " + "using refid", be.getMessage());
}
f = getInstance();


First
Previous
Clone Instance
3
Line Count
11
Source Line
81
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java

try {
  f.setRefid(new Reference("dummyref"));
  fail("Can add reference to " + f.getDataTypeName() + " with nested include element.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute " + "when using refid", be.getMessage());
}
f = getInstance();


Clone AbstractionParameter Count: 3Parameter Bindings

try {
  f.setRefid(new Reference("dummyref"));
  fail("Can add reference to " + f.getDataTypeName() +  [[#variable101279e0]]);
}
catch (BuildException
       be) {
  assertEquals( [[#variable10129500]] +  [[#variable1011cb00]], be.getMessage());
}
f = getInstance();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#101279e0]]
" with elements from setIncludes" 
12[[#101279e0]]
" with nested patternset element." 
13[[#101279e0]]
" with nested include element." 
21[[#10129500]]
"You must not specify more than one attribute " 
22[[#10129500]]
"You must not specify nested elements when " 
23[[#10129500]]
"You must not specify more than one attribute " 
31[[#1011cb00]]
"when using refid" 
32[[#1011cb00]]
"using refid" 
33[[#1011cb00]]
"when using refid"