CloneSet3751


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.978statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1103412
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
2105411
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
10
Source Line
3412
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                        if (memberType.isClass()) {
                                relevance += computeRelevanceForClass();
                                relevance += computeRelevanceForException(memberType.sourceName);
                        }
                        else   if (memberType.isEnum()) {
                                relevance += computeRelevanceForEnum();
                               }
                               else
                               if (memberType.isInterface()) {
                                relevance += computeRelevanceForInterface();
                               }
                        this.noProposal = false;


Clone Instance
2
Line Count
10
Source Line
5411
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                        if (typeBinding.isClass()) {
                                                                relevance += computeRelevanceForClass();
                                                                relevance += computeRelevanceForException(typeBinding.sourceName);
                                                        }
                                                        else   if (typeBinding.isEnum()) {
                                                                relevance += computeRelevanceForEnum();
                                                               }
                                                               else
                                                               if (typeBinding.isInterface()) {
                                                                relevance += computeRelevanceForInterface();
                                                               }
                                                        this.noProposal = false;


Clone AbstractionParameter Count: 1Parameter Bindings

if ( [[#variable96af42c0]].isClass()) {
  relevance += computeRelevanceForClass();
  relevance += computeRelevanceForException( [[#variable96af42c0]].sourceName);
}
else
  if ( [[#variable96af42c0]].isEnum()) {
    relevance += computeRelevanceForEnum();
  }
  else
    if ( [[#variable96af42c0]].isInterface()) {
      relevance += computeRelevanceForInterface();
    }
this.noProposal = false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#96af42c0]]
typeBinding 
12[[#96af42c0]]
memberType