CloneSet1234


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3730.963statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1390
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java
23512
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java
33649
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java
4360
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java
53122
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java
63232
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java
73265
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java
Clone Instance
1
Line Count
3
Source Line
90
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java

                        for (int i = 0; i < methods.length; i++) {
                                if (annotates(methods[i]))
                                        return true;
                        }


Clone Instance
2
Line Count
3
Source Line
512
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java

                for (int i = 0; i < references.length; i++) {
                        if (hasSideEffect(references[i]))
                                return false;
                }


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

                        for (int i = 0; i < children.length; i++) {
                                if (isReadOnly(children[i]))
                                        return true;
                        }


Clone Instance
4
Line Count
3
Source Line
60
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java

                for (int i = 0; i < javaElements.length; i++) {
                        if (hasReadOnlyResourcesAndSubResources(javaElements[i]))
                                return true;
                }


Clone Instance
5
Line Count
3
Source Line
122
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java

                for (int i = 0; i < resources.length; i++) {
                        if (hasReadOnlyResourcesAndSubResources(resources[i]))
                                return true;
                }


Clone Instance
6
Line Count
3
Source Line
232
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java

                        for (int i = 0; i < fMembersToMove.length; i++) {
                                if (isDelegateCreationAvailable(fMembersToMove[i]))
                                        return true;
                        }


Clone Instance
7
Line Count
3
Source Line
265
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java

                        for (int i = 0; i < cus.length; i++) {
                                if (isLinkedResource(cus[i]))
                                        return true;
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable94e1e6e0]].length; i++) {
  if ( [[#variable94e1e820]]( [[#variable94e1e6e0]][i]))
    return [[#variable9b178180]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94e1e6e0]]
methods 
12[[#94e1e6e0]]
references 
13[[#94e1e6e0]]
children 
14[[#94e1e6e0]]
resources 
15[[#94e1e6e0]]
javaElements 
16[[#94e1e6e0]]
fMembersToMove 
17[[#94e1e6e0]]
cus 
21[[#94e1e820]]
annotates 
22[[#94e1e820]]
hasSideEffect 
23[[#94e1e820]]
isReadOnly 
24[[#94e1e820]]
hasReadOnlyResourcesAndSubResources 
25[[#94e1e820]]
hasReadOnlyResourcesAndSubResources 
26[[#94e1e820]]
isDelegateCreationAvailable 
27[[#94e1e820]]
isLinkedResource 
31[[#9b178180]]
true 
32[[#9b178180]]
false 
33[[#9b178180]]
true 
34[[#9b178180]]
true 
35[[#9b178180]]
true 
36[[#9b178180]]
true 
37[[#9b178180]]
true