Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.989 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 36 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Block.java |
2 | 7 | 81 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MethodDeclaration.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; } } |
| ||||
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; } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1507f40]] | max |
1 | 2 | [[#b1507f40]] | count |
2 | 1 | [[#a4f120e0]] | flowContext |
2 | 2 | [[#a4f120e0]] | methodContext |