Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2272 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 6 | 3917 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
if (invocationSite instanceof CompletionOnJavadocAllocationExpression) { CompletionOnJavadocAllocationExpression alloc = (CompletionOnJavadocAllocationExpression) invocationSite; receiver = alloc.type; } else if (invocationSite instanceof CompletionOnJavadocFieldReference) { CompletionOnJavadocFieldReference fieldRef = (CompletionOnJavadocFieldReference) invocationSite; receiver = fieldRef.receiver; } |
| ||||
if (invocationSite instanceof CompletionOnJavadocMessageSend) { CompletionOnJavadocMessageSend msg = (CompletionOnJavadocMessageSend) invocationSite; receiver = msg.receiver; } else if (invocationSite instanceof CompletionOnJavadocFieldReference) { CompletionOnJavadocFieldReference fieldRef = (CompletionOnJavadocFieldReference) invocationSite; receiver = fieldRef.receiver; } |
| |||
if (invocationSite instanceof [[#variable58d19ba0]]) { [[#variable58d19ba0]] [[#variable58d19b00]]= ( [[#variable58d19ba0]]) invocationSite; receiver = [[#variable58d19b00]]. [[#variable58d19a80]]; } else if (invocationSite instanceof CompletionOnJavadocFieldReference) { CompletionOnJavadocFieldReference fieldRef = (CompletionOnJavadocFieldReference) invocationSite; receiver = fieldRef.receiver; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58d19ba0]] | CompletionOnJavadocMessageSend |
1 | 2 | [[#58d19ba0]] | CompletionOnJavadocAllocationExpression |
2 | 1 | [[#58d19b00]] | msg |
2 | 2 | [[#58d19b00]] | alloc |
3 | 1 | [[#58d19a80]] | receiver |
3 | 2 | [[#58d19a80]] | type |