CloneSet3851


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3330.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1392
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitAddLibraryProposal.java
2370
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypedElementSelectionValidator.java
3357
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypedViewerFilter.java
Clone Instance
1
Line Count
3
Source Line
92
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitAddLibraryProposal.java

                for (int i = 0; i < oldEntries.length; i++) {
                        if (oldEntries[i].equals(entry)) {
                                return true;
                        }
                }


Clone Instance
2
Line Count
3
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypedElementSelectionValidator.java

                for (int i = 0; i < fAcceptedTypes.length; i++) {
                        if (fAcceptedTypes[i].isInstance(o)) {
                                return true;
                        }
                }


Clone Instance
3
Line Count
3
Source Line
57
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypedViewerFilter.java

                for (int i = 0; i < fAcceptedTypes.length; i++) {
                        if (fAcceptedTypes[i].isInstance(element)) {
                                return true;
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable9e6ed9e0]].length; i++) {
  if ( [[#variable9e6ed9e0]][i]. [[#variable9e6ed940]]( [[#variable9e6ed7a0]])) {
    return true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e6ed9e0]]
oldEntries 
12[[#9e6ed9e0]]
fAcceptedTypes 
13[[#9e6ed9e0]]
fAcceptedTypes 
21[[#9e6ed940]]
equals 
22[[#9e6ed940]]
isInstance 
23[[#9e6ed940]]
isInstance 
31[[#9e6ed7a0]]
entry 
32[[#9e6ed7a0]]
o 
33[[#9e6ed7a0]]
element