Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.971 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 499 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java |
2 | 12 | 511 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java |
| ||||
{ CompletionOnJavadocParamNameReference paramNameRef = (CompletionOnJavadocParamNameReference) this.completionNode; int nameStart = (int) (namePosition >> 32); paramNameRef.sourceStart = nameStart; int nameEnd = (int) namePosition; if (nameStart < this.cursorLocation && this.cursorLocation < nameEnd) { paramNameRef.sourceEnd = this.cursorLocation + 1; } else { paramNameRef.sourceEnd = nameEnd; } paramNameRef.tagSourceStart = startPosition; paramNameRef.tagSourceEnd = endPosition; } |
| ||||
{ CompletionOnJavadocTypeParamReference typeParamRef = (CompletionOnJavadocTypeParamReference) this.completionNode; int nameStart = (int) (namePosition >> 32); typeParamRef.sourceStart = nameStart; int nameEnd = (int) namePosition; if (nameStart < this.cursorLocation && this.cursorLocation < nameEnd) { typeParamRef.sourceEnd = this.cursorLocation + 1; } else { typeParamRef.sourceEnd = nameEnd; } typeParamRef.tagSourceStart = startPosition; typeParamRef.tagSourceEnd = endPosition; } |
| |||
{ [[#variable7d4b3200]] [[#variablea3be1a60]]= ( [[#variable7d4b3200]]) this.completionNode; int nameStart = (int) (namePosition >> 32); [[#variablea3be1a60]].sourceStart = nameStart; int nameEnd = (int) namePosition; if (nameStart < this.cursorLocation && this.cursorLocation < nameEnd) { [[#variablea3be1a60]].sourceEnd = this.cursorLocation + 1; } else { [[#variablea3be1a60]].sourceEnd = nameEnd; } [[#variablea3be1a60]].tagSourceStart = startPosition; [[#variablea3be1a60]].tagSourceEnd = endPosition; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d4b3200]] | CompletionOnJavadocTypeParamReference |
1 | 2 | [[#7d4b3200]] | CompletionOnJavadocParamNameReference |
2 | 1 | [[#a3be1a60]] | typeParamRef |
2 | 2 | [[#a3be1a60]] | paramNameRef |