Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 4 | 0.952 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 1952 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 11 | 6301 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
proposal.setSignature( createMethodSignature( CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR, CharOperation.NO_CHAR)); //proposal.setOriginalSignature(null); //proposal.setUniqueKey(null); proposal.setDeclarationPackageName(currentType.qualifiedPackageName()); proposal.setDeclarationTypeName(currentType.qualifiedSourceName()); //proposal.setParameterPackageNames(null); //proposal.setParameterTypeNames(null); //proposal.setPackageName(null); //proposal.setTypeName(null); proposal.setCompletion(completion); |
| ||||
proposal.setSignature( createMethodSignature( CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR, VOID )); proposal.setDeclarationPackageName(reference.qualifiedPackageName()); proposal.setDeclarationTypeName(reference.qualifiedSourceName()); //proposal.setPackageName(null); proposal.setTypeName(VOID); |
| |||
proposal.setSignature(createMethodSignature(CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR_CHAR, CharOperation.NO_CHAR, [[#variable543ecec0]])); //proposal.setOriginalSignature(null); //proposal.setUniqueKey(null); proposal.setDeclarationPackageName( [[#variable543ec580]].qualifiedPackageName()); proposal.setDeclarationTypeName( [[#variable543ec580]].qualifiedSourceName()); //proposal.setParameterPackageNames(null); //proposal.setParameterTypeNames(null); //proposal.setPackageName(null); //proposal.setTypeName(null); proposal. [[#variable543ec540]]( [[#variable543ec520]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#543ecec0]] | VOID |
1 | 2 | [[#543ecec0]] | CharOperation.NO_CHAR |
2 | 1 | [[#543ec580]] | reference |
2 | 2 | [[#543ec580]] | currentType |
3 | 1 | [[#543ec540]] | setTypeName |
3 | 2 | [[#543ec540]] | setCompletion |
4 | 1 | [[#543ec520]] | VOID |
4 | 2 | [[#543ec520]] | completion |