CloneSet6368


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3330.961statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1398
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
23558
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java
34126
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/TextMatchUpdater.java
Clone Instance
1
Line Count
3
Source Line
98
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java

                        IJavaElement element = JavaCore.create(typeStr);
                        if ( ! (element instanceof IType))
                                return;


Clone Instance
2
Line Count
3
Source Line
558
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java

                        IJavaElement element = JavaCore.create(resource);
                        if ( ! (element instanceof ICompilationUnit))
                                continue ;


Clone Instance
3
Line Count
4
Source Line
126
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/TextMatchUpdater.java

                                IJavaElement element = JavaCore.create(resource);
                                // don't start pm task (flickering label updates; finally {pm.done()} is enough)
                                if ( !(element instanceof ICompilationUnit))
                                        return;


Clone AbstractionParameter Count: 3Parameter Bindings

IJavaElement element = JavaCore.create( [[#variable6003e6c0]]);
// don't start pm task (flickering label updates; finally {pm.done()} is enough)
if ( !(element instanceof [[#variable6003e5c0]]))
   [[#variable6003e1a0]]
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6003e6c0]]
resource 
12[[#6003e6c0]]
typeStr 
13[[#6003e6c0]]
resource 
21[[#6003e5c0]]
ICompilationUnit 
22[[#6003e5c0]]
IType 
23[[#6003e5c0]]
ICompilationUnit 
31[[#6003e1a0]]
continue ; 
32[[#6003e1a0]]
return; 
33[[#6003e1a0]]
return;