CloneSet3026


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.971statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15350
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
26528
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
5
Source Line
350
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

                        java.util.StringTokenizer st = new java.util.StringTokenizer(new String(token), " ");  //$NON-NLS-1$
                        String[] terminalNames = new String[st.countTokens()];
                        int t = 0;
                        while (st.hasMoreTokens()) {
                                terminalNames[t++ ] = st.nextToken();
                        }


Clone Instance
2
Line Count
6
Source Line
528
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

        java.util.StringTokenizer st =
                new java.util.StringTokenizer(new String(contents), " \t\n\r[]={,;");  //$NON-NLS-1$
        String[] tokens = new String[st.countTokens()];
        int j = 0;
        while (st.hasMoreTokens()) {
                tokens[j++ ] = st.nextToken();
        }


Clone AbstractionParameter Count: 4Parameter Bindings

java.util.StringTokenizer st = new java.util.StringTokenizer(new String( [[#variable5b4d6ba0]]),  [[#variable5b4d69a0]]); //$NON-NLS-1$
String[]  [[#variableb69f9ca0]]= new String[st.countTokens()];
int  [[#variable5b4d6b80]]= 0;
while (st.hasMoreTokens()) {
   [[#variableb69f9ca0]][ [[#variable5b4d6b80]]++ ] = st.nextToken();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b4d6ba0]]
contents 
12[[#5b4d6ba0]]
token 
21[[#5b4d69a0]]
" \t\n\r[]={,;" 
22[[#5b4d69a0]]
" " 
31[[#b69f9ca0]]
tokens 
32[[#b69f9ca0]]
terminalNames 
41[[#5b4d6b80]]
j 
42[[#5b4d6b80]]
t