CloneSet120


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9620.962executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1943
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/FileListTest.java
2953
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/FileListTest.java
3956
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java
49389
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java
59399
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java
6951
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
9
Source Line
43
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/FileListTest.java

try {
  f.setRefid(new Reference("dummyref"));
  fail("Can add reference to FileList with directory attribute set.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute when using refid", be.getMessage());
}


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

try {
  f.setRefid(new Reference("dummyref"));
  fail("Can add reference to FileList with file attribute set.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute when using refid", be.getMessage());
}


Next
Previous
Clone Instance
3
Line Count
9
Source Line
56
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java

try {
  m.setRefid(new Reference("dummyref"));
  fail("Can add reference to Mapper with from attribute set");
}
catch (BuildException
       be) {
  assertEquals("You must not specify more than one attribute when using refid", be.getMessage());
}


Next
Previous
Clone Instance
4
Line Count
9
Source Line
389
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java

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


Next
Previous
Clone Instance
5
Line Count
9
Source Line
399
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java

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


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

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


Clone AbstractionParameter Count: 2Parameter Bindings

try {
   [[#variablefda7980]].setRefid(new Reference("dummyref"));
  fail( [[#variablefdbe080]]);
}
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[[#fda7980]]
f 
12[[#fda7980]]
f 
13[[#fda7980]]
m 
14[[#fda7980]]
p 
15[[#fda7980]]
p 
16[[#fda7980]]
p 
21[[#fdbe080]]
"Can add reference to FileList with directory attribute set." 
22[[#fdbe080]]
"Can add reference to FileList with file attribute set." 
23[[#fdbe080]]
"Can add reference to Mapper with from attribute set" 
24[[#fdbe080]]
"Can add reference to Path with elements from constructor" 
25[[#fdbe080]]
"Can add reference to Path with elements from setLocation" 
26[[#fdbe080]]
"Can add reference to PatternSet with elements from setIncludes"