Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 3 | 0.978 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 2961 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 15 | 3036 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
char[] completionName = CharOperation.concat( field.declaringClass.qualifiedPackageName(), '.', field.declaringClass.qualifiedSourceName(), '.', field.name ); completionName = CharOperation.concat(completionName, SEMICOLON); int relevance = computeBaseRelevance(); relevance += computeRelevanceForInterestingProposal(); relevance += computeRelevanceForCaseMatching(fieldName, field.name); relevance += computeRelevanceForRestrictions(IAccessRule.K_ACCESSIBLE); this.noProposal = false; |
| ||||
char[] completionName = CharOperation.concat( method.declaringClass.qualifiedPackageName(), '.', method.declaringClass.qualifiedSourceName(), '.', method.selector ); completionName = CharOperation.concat(completionName, SEMICOLON); int relevance = computeBaseRelevance(); relevance += computeRelevanceForInterestingProposal(); relevance += computeRelevanceForCaseMatching(methodName, method.selector); relevance += computeRelevanceForRestrictions(IAccessRule.K_ACCESSIBLE); this.noProposal = false; |
| |||
char[] completionName = CharOperation.concat( [[#variable52a3c7c0]].declaringClass.qualifiedPackageName(), '.', [[#variable52a3c7c0]].declaringClass.qualifiedSourceName(), '.', [[#variable52a3c7c0]]. [[#variable53356200]]); completionName = CharOperation.concat(completionName, SEMICOLON); int relevance = computeBaseRelevance(); relevance += computeRelevanceForInterestingProposal(); relevance += computeRelevanceForCaseMatching( [[#variable5b568180]], [[#variable52a3c7c0]]. [[#variable53356200]]); relevance += computeRelevanceForRestrictions(IAccessRule.K_ACCESSIBLE); this.noProposal = false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52a3c7c0]] | field |
1 | 2 | [[#52a3c7c0]] | method |
2 | 1 | [[#53356200]] | name |
2 | 2 | [[#53356200]] | selector |
3 | 1 | [[#5b568180]] | fieldName |
3 | 2 | [[#5b568180]] | methodName |