CloneSet608


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.950method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161393
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
261408
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
1393
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

/**
 * Take care that some output is produced in report files if the
 * watchdog kills the test.
 *
 * @since Ant 1.5.2
 */
private void logTimeout(FormatterElement[] feArray, JUnitTest test, String testCase) {
  logVmExit(feArray, test, "Timeout occurred. Please note the time in the report does" + " not reflect the time until the timeout.", testCase);
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
1408
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

/**
 * Take care that some output is produced in report files if the
 * forked machine exited before the test suite finished but the
 * reason is not a timeout.
 *
 * @since Ant 1.7
 */
private void logVmCrash(FormatterElement[] feArray, JUnitTest test, String testCase) {
  logVmExit(feArray, test, "Forked Java VM exited abnormally. Please note the time in the report" + " does not reflect the time until the VM exit.", testCase);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Take care that some output is produced in report files if the
     * forked machine exited before the test suite finished but the
     * reason is not a timeout.
     *
     * @since Ant 1.7
     */
/**
     * Take care that some output is produced in report files if the
     * watchdog kills the test.
     *
     * @since Ant 1.5.2
     */
private void [[#variable13064100]](FormatterElement[] feArray, JUnitTest test, String testCase) {
  logVmExit(feArray, test,  [[#variable13064060]] +  [[#variable13071fc0]], testCase);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13064100]]
logTimeout 
12[[#13064100]]
logVmCrash 
21[[#13064060]]
"Timeout occurred. Please note the time in the report does" 
22[[#13064060]]
"Forked Java VM exited abnormally. Please note the time in the report" 
31[[#13071fc0]]
" not reflect the time until the timeout." 
32[[#13071fc0]]
" does not reflect the time until the VM exit."