Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.964 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1994 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 5 | 2742 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
relevance += computeRelevanceForCaseMatching(token, classField); relevance += computeRelevanceForExpectingType(scope.getJavaLangClass()); relevance += computeRelevanceForRestrictions(IAccessRule.K_ACCESSIBLE); //no access restriction for class field this.noProposal = false; |
| ||||
relevance += computeRelevanceForCaseMatching(token, lengthField); relevance += computeRelevanceForExpectingType(TypeBinding.INT); relevance += computeRelevanceForRestrictions(IAccessRule.K_ACCESSIBLE); // no access restriction for length field this.noProposal = false; |
| |||
relevance += computeRelevanceForCaseMatching(token, [[#variable9909f4a0]]); relevance += computeRelevanceForExpectingType( [[#variable990cf140]] [[#variable990ce100]]); relevance += computeRelevanceForRestrictions(IAccessRule.K_ACCESSIBLE); //no access restriction for class field // no access restriction for length field this.noProposal = false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9909f4a0]] | classField |
1 | 2 | [[#9909f4a0]] | lengthField |
2 | 1 | [[#990cf140]] | scope |
2 | 2 | [[#990cf140]] | TypeBinding |
3 | 1 | [[#990ce100]] | .getJavaLangClass() |
3 | 2 | [[#990ce100]] | .INT |