CloneSet515


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1599
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java
26150
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
99
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java

/**
 * Assert that the given substring is in the log messages.
 */
public void assertLogContaining(String substring) {
  String realLog = getLog();
  assertTrue("expecting log to contain \"" + substring + "\" log was \"" + realLog + "\"", realLog.indexOf(substring) >= 0);
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
150
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java

/**
 * Assert that the given substring is in the log messages.
 */
public void assertDebuglogContaining(String substring) {
  String realLog = getFullLog();
  assertTrue("expecting debug log to contain \"" + substring + "\" log was \"" + realLog + "\"", realLog.indexOf(substring) >= 0);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Assert that the given substring is in the log messages.
     */
public void [[#variable13003320]](String substring) {
  String realLog = [[#variable13003280]]();
  assertTrue( [[#variable13003220]] + substring + "\" log was \"" + realLog + "\"", realLog.indexOf(substring) >= 0);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13003320]]
assertLogContaining 
12[[#13003320]]
assertDebuglogContaining 
21[[#13003280]]
getLog 
22[[#13003280]]
getFullLog 
31[[#13003220]]
"expecting log to contain \"" 
32[[#13003220]]
"expecting debug log to contain \""