CloneSet3127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6301.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16378
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
26395
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
36463
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
Clone Instance
1
Line Count
6
Source Line
378
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java

                        TestElement testElement = getTestElement(testId);
                        if ( ! (testElement instanceof TestCaseElement)) {
                                logUnexpectedTest(testId, testElement);
                                return;
                        }
                        TestCaseElement testCaseElement = (TestCaseElement) testElement;


Clone Instance
2
Line Count
6
Source Line
395
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java

                        TestElement testElement = getTestElement(testId);
                        if ( ! (testElement instanceof TestCaseElement)) {
                                logUnexpectedTest(testId, testElement);
                                return;
                        }
                        TestCaseElement testCaseElement = (TestCaseElement) testElement;


Clone Instance
3
Line Count
6
Source Line
463
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java

                        TestElement testElement = getTestElement(testId);
                        if ( ! (testElement instanceof TestCaseElement)) {
                                logUnexpectedTest(testId, testElement); //TODO: rerun suites?
                                return;
                        }
                        TestCaseElement testCaseElement = (TestCaseElement) testElement;


Clone AbstractionParameter Count: 0Parameter Bindings

TestElement testElement = getTestElement(testId);
if ( !(testElement instanceof TestCaseElement)) {
  logUnexpectedTest(testId, testElement); //TODO: rerun suites?
  return;
}
TestCaseElement testCaseElement = (TestCaseElement) testElement;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None