Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 2 | 0.951 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 1180 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
2 | 1 | 1182 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
| ||||
int diff1 = paramLength < argLength ? 2 * (argLength - paramLength): paramLength - argLength; |
| ||||
int diff2 = bestLength < argLength ? 2 * (argLength - bestLength): bestLength - argLength; |
| |||
int [[#variablebf22f840]]= [[#variablebf22f7a0]] < argLength ? 2 * (argLength - [[#variablebf22f7a0]]): [[#variablebf22f7a0]] - argLength; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bf22f840]] | diff1 |
1 | 2 | [[#bf22f840]] | diff2 |
2 | 1 | [[#bf22f7a0]] | paramLength |
2 | 2 | [[#bf22f7a0]] | bestLength |