Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.964 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1388 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 9 | 1423 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
// Set source range int rangeStart = astNode.sourceStart; if (messageSend.receiver.isThis()) { if (messageSend.completeInText()) { rangeStart = messageSend.separatorPosition; } } else if (messageSend.completeInText()) { rangeStart = messageSend.receiver.sourceStart; } setSourceRange(rangeStart, astNode.sourceEnd, false); |
| ||||
int rangeStart = astNode.sourceStart; if (allocExpression.type.isThis()) { if (allocExpression.completeInText()) { rangeStart = allocExpression.separatorPosition; } } else if (allocExpression.completeInText()) { rangeStart = allocExpression.type.sourceStart; } setSourceRange(rangeStart, astNode.sourceEnd, false); |
| |||
// Set source range int rangeStart = astNode.sourceStart; if ( [[#variable5b4d6b40]]. [[#variable52333120]].isThis()) { if ( [[#variable5b4d6b40]].completeInText()) { rangeStart = [[#variable5b4d6b40]].separatorPosition; } } else if ( [[#variable5b4d6b40]].completeInText()) { rangeStart = [[#variable5b4d6b40]]. [[#variable52333120]].sourceStart; } setSourceRange(rangeStart, astNode.sourceEnd, false); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b4d6b40]] | allocExpression |
1 | 2 | [[#5b4d6b40]] | messageSend |
2 | 1 | [[#52333120]] | type |
2 | 2 | [[#52333120]] | receiver |