Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.968 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 192 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadoc.java |
2 | 11 | 258 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadoc.java |
| ||||
// Store all method arguments if there's no @param in javadoc if (paramTagsSize == 0) { char[][] missingParams = new char[argumentsSize][]; for (int i = 0; i < argumentsSize; i++) { missingParams[i] = md.arguments[i].name; } return missingParams; } // Look for missing arguments char[][] missingParams = new char[argumentsSize][]; int size = 0; |
| ||||
if (paramTypeParamLength == 0) { char[][] missingParams = new char[typeParametersLength][]; for (int i = 0; i < typeParametersLength; i++) { missingParams[i] = parameters[i].name; } return missingParams; } // Look for missing type parameter char[][] missingParams = new char[typeParametersLength][]; int size = 0; |
| |||
// Store all method arguments if there's no @param in javadoc if ( [[#variable54ec5240]]== 0) { char[][] missingParams = new char[ [[#variable9944b3c0]]][]; for (int i = 0; i < [[#variable9944b3c0]]; i++) { missingParams[i] = [[#variable5544c300]][i].name; } return missingParams; } // Look for missing arguments // Look for missing type parameter char[][] missingParams = new char[ [[#variable9944b3c0]]][]; int size = 0; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54ec5240]] | paramTagsSize |
1 | 2 | [[#54ec5240]] | paramTypeParamLength |
2 | 1 | [[#9944b3c0]] | argumentsSize |
2 | 2 | [[#9944b3c0]] | typeParametersLength |
3 | 1 | [[#5544c300]] | md.arguments |
3 | 2 | [[#5544c300]] | parameters |