CloneSet3231


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.975executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18715
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
28724
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Clone Instance
1
Line Count
8
Source Line
715
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

                                                                                                                                         {
                                        RecoveredField recoveredField = (RecoveredField) currentElement;
                                        if (recoveredField.fieldDeclaration.type.dimensions() == 0) {
                                                Block block = new Block(0);
                                                block.sourceStart = info;
                                                currentElement = currentElement.add(block, 1);
                                        }
                                        else   {
                                                statement = arrayInitializer;
                                        }
                                                                                                                                         }


Clone Instance
2
Line Count
8
Source Line
724
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java

                                                                                            {
                                        RecoveredLocalVariable recoveredLocalVariable = (RecoveredLocalVariable) currentElement;
                                        if (recoveredLocalVariable.localDeclaration.type.dimensions() == 0) {
                                                Block block = new Block(0);
                                                block.sourceStart = info;
                                                currentElement = currentElement.add(block, 1);
                                        }
                                        else   {
                                                statement = arrayInitializer;
                                        }
                                                                                            }


Clone AbstractionParameter Count: 3Parameter Bindings

{
   [[#variable4e22d180]]  [[#variable4e22d100]]= ( [[#variable4e22d180]]) currentElement;
  if ( [[#variable4e22d100]]. [[#variable4e22d080]].type.dimensions() == 0) {
    Block block = new Block(0);
    block.sourceStart = info;
    currentElement = currentElement.add(block, 1);
  }
  else {
    statement = arrayInitializer;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e22d180]]
RecoveredLocalVariable 
12[[#4e22d180]]
RecoveredField 
21[[#4e22d100]]
recoveredLocalVariable 
22[[#4e22d100]]
recoveredField 
31[[#4e22d080]]
localDeclaration 
32[[#4e22d080]]
fieldDeclaration