Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.958 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 109 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java |
2 | 3 | 120 | 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); |
| |||||
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); |
| |||
String output = getLog(); boolean hasWarning = output.indexOf( [[#variable13098220]]) != -1; assertTrue( [[#variable1309f1a0]], hasWarning); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13098220]] | "Manifest warning: \"Name\" attributes should not occur in the main section" |
1 | 2 | [[#13098220]] | "Manifest sections should start with a \"Name\" attribute" |
2 | 1 | [[#1309f1a0]] | "Expected warning about Name in main section" |
2 | 2 | [[#1309f1a0]] | "Expected warning about section not starting with Name: attribute" |