CloneSet8693


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.963statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12176
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java
22461
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java
Clone Instance
1
Line Count
2
Source Line
176
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java

                                // we sort the keys to be able to generate the code for tableswitch or lookupswitch
                                for (int i = 0; i < caseCount; i++) {
                                        sortedIndexes[i] = i;
                                }


Clone Instance
2
Line Count
2
Source Line
461
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java

        for (int i = 0; i < arrayCount; i++) {
                result[i] = C_ARRAY;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

// we sort the keys to be able to generate the code for tableswitch or lookupswitch
for (int i = 0; i <  [[#variablebca08c00]]; i++) {
   [[#variablebca08fc0]][i] = [[#variablebca090c0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bca08c00]]
caseCount 
12[[#bca08c00]]
arrayCount 
21[[#bca08fc0]]
sortedIndexes 
22[[#bca08fc0]]
result 
31[[#bca090c0]]
i 
32[[#bca090c0]]
C_ARRAY