CloneSet111


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12320.953block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112105
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java
212140
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java
312154
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
105
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java

{
  test3();
  File file = new File(getProjectDir(), tempFile);
  final long origSize = file.length();
  executeTarget("test4");
  File file2 = new File(getProjectDir(), tempFile2);
  final long newSize = file2.length();
  assertEquals(origSize * 3, newSize);
}


Next
Previous
Clone Instance
2
Line Count
12
Source Line
140
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java

{
  test3();
  File file = new File(getProjectDir(), tempFile);
  final long origSize = file.length();
  executeTarget("testPath");
  File file2 = new File(getProjectDir(), tempFile2);
  final long newSize = file2.length();
  assertEquals(origSize, newSize);
}


First
Previous
Clone Instance
3
Line Count
12
Source Line
154
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java

{
  test3();
  File file = new File(getProjectDir(), tempFile);
  final long origSize = file.length();
  executeTarget("testAppend");
  File file2 = new File(getProjectDir(), tempFile2);
  final long newSize = file2.length();
  assertEquals(origSize * 2, newSize);
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  test3();
  File file = new File(getProjectDir(), tempFile);
  final long origSize = file.length();
  executeTarget( [[#variablefe538e0]]);
  File file2 = new File(getProjectDir(), tempFile2);
  final long newSize = file2.length();
  assertEquals( [[#variablefe53780]], newSize);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fe538e0]]
"test4" 
12[[#fe538e0]]
"testPath" 
13[[#fe538e0]]
"testAppend" 
21[[#fe53780]]
origSize * 3 
22[[#fe53780]]
origSize 
23[[#fe53780]]
origSize * 2