Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 3014 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 10 | 3061 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
| ||||
if (assistIdentifier() == null && this.currentToken == TokenNameIdentifier) { // Test below copied from CompletionScanner.getCurrentIdentifierSource() if (cursorLocation < this.scanner.startPosition && this.scanner.currentPosition == this.scanner.startPosition) { // fake empty identifier got issued this.pushIdentifier(); } else if (cursorLocation + 1 >= this.scanner.startPosition && cursorLocation < this.scanner.currentPosition) { this.pushIdentifier(); } else { return; } } else { return; } |
| ||||
if (assistIdentifier() == null && this.currentToken == TokenNameIdentifier) { // Test below copied from CompletionScanner.getCurrentIdentifierSource() if (cursorLocation < this.scanner.startPosition && this.scanner.currentPosition == this.scanner.startPosition) { // fake empty identifier got issued this.pushIdentifier(); } else if (cursorLocation + 1 >= this.scanner.startPosition && cursorLocation < this.scanner.currentPosition) { this.pushIdentifier(); } else { return; } } else { return; } |
| |||
if (assistIdentifier() == null && this.currentToken == TokenNameIdentifier) { // Test below copied from CompletionScanner.getCurrentIdentifierSource() if (cursorLocation < this.scanner.startPosition && this.scanner.currentPosition == this.scanner.startPosition) { // fake empty identifier got issued this.pushIdentifier(); } else if (cursorLocation + 1 >= this.scanner.startPosition && cursorLocation < this.scanner.currentPosition) { this.pushIdentifier(); } else { return; } } else { return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |