Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.991 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 6739 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 8 | 6750 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
for (int i = 0; i < excludedNames.length; i++) { if (excludedNames[i].length == 1 && ScannerHelper.toLowerCase(excludedNames[i][0]) == ScannerHelper.toLowerCase(name)) { name++; if (name > endChar) name = startChar; if (name == firstName) return substituteMethodTypeParameterName(new char[] { firstName }, excludedNames, otherParameterNames); continue next; } } |
| ||||
for (int i = 0; i < otherParameterNames.length; i++) { if (otherParameterNames[i].length == 1 && ScannerHelper.toLowerCase(otherParameterNames[i][0]) == ScannerHelper.toLowerCase(name)) { name++; if (name > endChar) name = startChar; if (name == firstName) return substituteMethodTypeParameterName(new char[] { firstName }, excludedNames, otherParameterNames); continue next; } } |
| |||
for (int i = 0; i < [[#variable9ce645a0]].length; i++) { if ( [[#variable9ce645a0]][i].length == 1 && ScannerHelper.toLowerCase( [[#variable9ce645a0]][i][0]) == ScannerHelper.toLowerCase(name)) { name++; if (name > endChar) name = startChar; if (name == firstName) return substituteMethodTypeParameterName(new char[] { firstName }, excludedNames, otherParameterNames); continue next; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9ce645a0]] | otherParameterNames |
1 | 2 | [[#9ce645a0]] | excludedNames |