CloneSet4491


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.955statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17184
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/JavaProjectSourceContainer.java
2794
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeFilter.java
Clone Instance
1
Line Count
7
Source Line
184
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/JavaProjectSourceContainer.java

                for (int i = 0; i < fgJavaExtensions.length; i++) {
                        String ext = fgJavaExtensions[i];
                        if (name.endsWith(ext)) {
                                return true;
                        }
                }
                return false;


Clone Instance
2
Line Count
7
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeFilter.java

                for (int i = 0; i < matchers.length; i++) {
                        StringMatcher curr = matchers[i];
                        if (curr.match(fullTypeName)) {
                                return true;
                        }
                }
                return false;


Clone AbstractionParameter Count: 6Parameter Bindings

for (int i = 0; i <  [[#variable62bdb640]].length; i++) {
   [[#variable62bdb560]]  [[#variable62bdb440]]= [[#variable62bdb640]][i];
  if ( [[#variable62bdb4a0]]. [[#variable62bdb220]]( [[#variable62bdb500]])) {
    return true;
  }
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62bdb640]]
matchers 
12[[#62bdb640]]
fgJavaExtensions 
21[[#62bdb560]]
StringMatcher 
22[[#62bdb560]]
String 
31[[#62bdb440]]
curr 
32[[#62bdb440]]
ext 
41[[#62bdb4a0]]
curr 
42[[#62bdb4a0]]
name 
51[[#62bdb220]]
match 
52[[#62bdb220]]
endsWith 
61[[#62bdb500]]
fullTypeName 
62[[#62bdb500]]
ext