Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.951 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 5836 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
2 | 5 | 1784 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java |
| ||||
for (int i = 0; i < visibleLocalsCount; i++) { LocalVariableBinding localBinding = visibleLocals[i]; if (localBinding != null && !isDefinitelyAssigned(scope, initStateIndex, localBinding) && localBinding.initializationCount > 0) { localBinding.recordInitializationEndPC(position); } } |
| ||||
for (int i = 0; i < index; i++) { LocalVariableBinding localBinding = visibleLocals[i]; if (localBinding != null && !isDefinitelyAssigned(scope, initStateIndex, localBinding) && localBinding.initializationCount > 0) { this.currentFrame.removeLocals(localBinding.resolvedPosition); } } |
| |||
for (int i = 0; i < [[#variable922ab4c0]]; i++) { LocalVariableBinding localBinding = visibleLocals[i]; if (localBinding != null && !isDefinitelyAssigned(scope, initStateIndex, localBinding) && localBinding.initializationCount > 0) { [[#variable922ab4a0]]. [[#variable922aa560]]( [[#variable922ab520]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#922ab4c0]] | visibleLocalsCount |
1 | 2 | [[#922ab4c0]] | index |
2 | 1 | [[#922ab4a0]] | localBinding |
2 | 2 | [[#922ab4a0]] | this.currentFrame |
3 | 1 | [[#922aa560]] | recordInitializationEndPC |
3 | 2 | [[#922aa560]] | removeLocals |
4 | 1 | [[#922ab520]] | position |
4 | 2 | [[#922ab520]] | localBinding.resolvedPosition |