CloneSet827


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.958statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13109
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java
23120
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
109
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java

String output = getLog();
boolean hasWarning = output.indexOf("Manifest warning: \"Name\" attributes should not occur in the main section") != -1;
assertTrue("Expected warning about Name in main section", hasWarning);


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

String output = getLog();
boolean hasWarning = output.indexOf("Manifest sections should start with a \"Name\" attribute") != -1;
assertTrue("Expected warning about section not starting with Name: attribute", hasWarning);


Clone AbstractionParameter Count: 2Parameter Bindings

String output = getLog();
boolean hasWarning = output.indexOf( [[#variable13098220]]) != -1;
assertTrue( [[#variable1309f1a0]], hasWarning);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13098220]]
"Manifest warning: \"Name\" attributes should not occur in the main section" 
12[[#13098220]]
"Manifest sections should start with a \"Name\" attribute" 
21[[#1309f1a0]]
"Expected warning about Name in main section" 
22[[#1309f1a0]]
"Expected warning about section not starting with Name: attribute"