CloneSet7095


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.981executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12558
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
22562
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
Clone Instance
1
Line Count
2
Source Line
558
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                                               if (project.findType(JUnitPlugin.JUNIT4_ANNOTATION_NAME) == null) {
                                                message = Messages.format(WizardMessages.NewTestCaseWizardPageOne_linkedtext_junit4_notonbuildpath, project.getElementName());
                                               }


Clone Instance
2
Line Count
2
Source Line
562
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java

                                        if (project.findType(JUnitPlugin.TEST_SUPERCLASS_NAME) == null) {
                                                message = Messages.format(WizardMessages.NewTestCaseWizardPageOne_linkedtext_junit3_notonbuildpath, project.getElementName());
                                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (project.findType(JUnitPlugin. [[#variable560c03c0]]) == null) {
  message = Messages.format(WizardMessages. [[#variable560c0400]], project.getElementName());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#560c03c0]]
TEST_SUPERCLASS_NAME 
12[[#560c03c0]]
JUNIT4_ANNOTATION_NAME 
21[[#560c0400]]
NewTestCaseWizardPageOne_linkedtext_junit3_notonbuildpath 
22[[#560c0400]]
NewTestCaseWizardPageOne_linkedtext_junit4_notonbuildpath