Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.995 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 232 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 6 | 413 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
| ||||
/* check for completion at the beginning of method body behind an invalid signature */ RecoveredMethod method = currentElement.enclosingMethod(); if (method != null) { AbstractMethodDeclaration methodDecl = method.methodDeclaration; if ((methodDecl.bodyStart == methodDecl.sourceEnd + 1) // was missing opening brace && (scanner.getLineNumber(orphan.sourceStart) == scanner.getLineNumber(methodDecl.sourceEnd))) { return; } } |
| ||||
/* check for completion at the beginning of method body behind an invalid signature */ RecoveredMethod method = currentElement.enclosingMethod(); if (method != null) { AbstractMethodDeclaration methodDecl = method.methodDeclaration; if ((methodDecl.bodyStart == methodDecl.sourceEnd + 1) // was missing opening brace && (scanner.getLineNumber(expression.sourceStart) == scanner.getLineNumber(methodDecl.sourceEnd))) { return; } } |
| |||
/* check for completion at the beginning of method body behind an invalid signature */ RecoveredMethod method = currentElement.enclosingMethod(); if (method != null) { AbstractMethodDeclaration methodDecl = method.methodDeclaration; if ((methodDecl.bodyStart == methodDecl.sourceEnd + 1) // was missing opening brace && (scanner.getLineNumber( [[#variable77350d80]].sourceStart) == scanner.getLineNumber(methodDecl.sourceEnd))) { return; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#77350d80]] | orphan |
1 | 2 | [[#77350d80]] | expression |