CloneSet2367


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.968statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111192
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadoc.java
211258
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadoc.java
Clone Instance
1
Line Count
11
Source Line
192
Source File
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;


Clone Instance
2
Line Count
11
Source Line
258
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadoc.java

                        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;


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54ec5240]]
paramTagsSize 
12[[#54ec5240]]
paramTypeParamLength 
21[[#9944b3c0]]
argumentsSize 
22[[#9944b3c0]]
typeParametersLength 
31[[#5544c300]]
md.arguments 
32[[#5544c300]]
parameters