CloneSet598


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.967method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1490
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java
24141
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
4
Source Line
90
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java

/**
 * Assert that only the given message has been logged with a
 * priority <= INFO when running the given target.
 */
public void expectLog(String target, String log) {
  executeTarget(target);
  String realLog = getLog();
  assertEquals(log, realLog);
}


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

/**
 * Assert that the given message has been logged with a priority
 * >= VERBOSE when running the given target.
 */
public void expectDebuglog(String target, String log) {
  executeTarget(target);
  String realLog = getFullLog();
  assertEquals(log, realLog);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Assert that the given message has been logged with a priority
     * >= VERBOSE when running the given target.
     */
/**
     * Assert that only the given message has been logged with a
     * priority <= INFO when running the given target.
     */
public void [[#variable1302ab40]](String target, String log) {
  executeTarget(target);
  String realLog = [[#variable1302aac0]]();
  assertEquals(log, realLog);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1302ab40]]
expectLog 
12[[#1302ab40]]
expectDebuglog 
21[[#1302aac0]]
getLog 
22[[#1302aac0]]
getFullLog