CloneSet840


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.957executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1966
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java
2876
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
66
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java

try {
  m.setFrom("*.java");
  fail("Can set from in Mapper 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
8
Source Line
76
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java

try {
  m.setTo("*.java");
  fail("Can set to in Mapper 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

try {
  m. [[#variable130b79e0]]("*.java");
  fail( [[#variable130b7940]]);
}
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[[#130b79e0]]
setFrom 
12[[#130b79e0]]
setTo 
21[[#130b7940]]
"Can set from in Mapper that is a reference." 
22[[#130b7940]]
"Can set to in Mapper that is a reference."