CloneSet157


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8620.956executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19427
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java
29435
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java
3892
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java
4899
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java
58106
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java
68113
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
427
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java

try {
  p.createPath();
  fail("Can create nested Path in Path that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}


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

try {
  p.createPathElement();
  fail("Can create nested PathElement in Path that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}


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

try {
  p.createInclude();
  fail("Can add nested include in PatternSet that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}


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

try {
  p.createExclude();
  fail("Can add nested exclude in PatternSet that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}


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

try {
  p.createIncludesFile();
  fail("Can add nested includesfile in PatternSet that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}


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

try {
  p.createExcludesFile();
  fail("Can add nested excludesfile in PatternSet that is a reference.");
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}


Clone AbstractionParameter Count: 2Parameter Bindings

try {
  p. [[#variable111dc720]]();
  fail( [[#variable111dc620]]);
}
catch (BuildException
       be) {
  assertEquals("You must not specify nested elements when using refid", be.getMessage());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#111dc720]]
createPath 
12[[#111dc720]]
createPathElement 
13[[#111dc720]]
createInclude 
14[[#111dc720]]
createExclude 
15[[#111dc720]]
createIncludesFile 
16[[#111dc720]]
createExcludesFile 
21[[#111dc620]]
"Can create nested Path in Path that is a reference." 
22[[#111dc620]]
"Can create nested PathElement in Path that is a reference." 
23[[#111dc620]]
"Can add nested include in PatternSet that is a reference." 
24[[#111dc620]]
"Can add nested exclude in PatternSet that is a reference." 
25[[#111dc620]]
"Can add nested includesfile in PatternSet that is a reference." 
26[[#111dc620]]
"Can add nested excludesfile in PatternSet that is a reference."