CloneSet2012


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.989statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1736
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Block.java
2781
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MethodDeclaration.java
Clone Instance
1
Line Count
7
Source Line
36
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Block.java

                boolean didAlreadyComplain = false;
                for (int i = 0, max = statements.length; i < max; i++) {
                        Statement stat = statements[i];
                        if ( !stat.complainIfUnreachable(flowInfo, scope, didAlreadyComplain)) {
                                flowInfo = stat.analyseCode(scope, flowContext, flowInfo);
                        }
                        else   {
                                didAlreadyComplain = true;
                        }
                }


Clone Instance
2
Line Count
7
Source Line
81
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MethodDeclaration.java

                                boolean didAlreadyComplain = false;
                                for (int i = 0, count = statements.length; i < count; i++) {
                                        Statement stat = statements[i];
                                        if ( !stat.complainIfUnreachable(flowInfo, scope, didAlreadyComplain)) {
                                                flowInfo = stat.analyseCode(scope, methodContext, flowInfo);
                                        }
                                        else   {
                                                didAlreadyComplain = true;
                                        }
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

boolean didAlreadyComplain = false;
for (int i = 0, [[#variableb1507f40]]= statements.length; i <  [[#variableb1507f40]]; i++) {
  Statement stat = statements[i];
  if ( !stat.complainIfUnreachable(flowInfo, scope, didAlreadyComplain)) {
    flowInfo = stat.analyseCode(scope,  [[#variablea4f120e0]], flowInfo);
  }
  else {
    didAlreadyComplain = true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1507f40]]
max 
12[[#b1507f40]]
count 
21[[#a4f120e0]]
flowContext 
22[[#a4f120e0]]
methodContext