Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.971 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 350 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
2 | 6 | 528 | 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(); } |
| ||||
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(); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b4d6ba0]] | contents |
1 | 2 | [[#5b4d6ba0]] | token |
2 | 1 | [[#5b4d69a0]] | " \t\n\r[]={,;" |
2 | 2 | [[#5b4d69a0]] | " " |
3 | 1 | [[#b69f9ca0]] | tokens |
3 | 2 | [[#b69f9ca0]] | terminalNames |
4 | 1 | [[#5b4d6b80]] | j |
4 | 2 | [[#5b4d6b80]] | t |