Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.959 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 59 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/TypeEquivalenceSet.java |
2 | 4 | 167 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java |
3 | 4 | 172 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java |
| ||||
for (int i = 0; i < variables.length; i++) { ConstraintVariable2 right = variables[i]; if ( ! result.contains(right)) result.add(right); } |
| ||||
for (int i = 0; i < a1.length; i++) { IMember member = a1[i]; if ( !result.contains(member)) result.add(member); } |
| ||||
for (int i = 0; i < a2.length; i++) { IMember member = a2[i]; if ( !result.contains(member)) result.add(member); } |
| |||
for (int i = 0; i < [[#variable56fb6ee0]].length; i++) { [[#variable56fb6e40]] [[#variable56fb6de0]]= [[#variable56fb6ee0]][i]; if ( !result.contains( [[#variable56fb6de0]])) result.add( [[#variable56fb6de0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56fb6ee0]] | variables |
1 | 2 | [[#56fb6ee0]] | a2 |
1 | 3 | [[#56fb6ee0]] | a1 |
2 | 1 | [[#56fb6e40]] | ConstraintVariable2 |
2 | 2 | [[#56fb6e40]] | IMember |
2 | 3 | [[#56fb6e40]] | IMember |
3 | 1 | [[#56fb6de0]] | right |
3 | 2 | [[#56fb6de0]] | member |
3 | 3 | [[#56fb6de0]] | member |