Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.954 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 170 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java |
2 | 2 | 201 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java |
3 | 2 | 246 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java |
| ||||
if (partitioning.size() == 1) return (IMethod[]) fDeclarations.toArray(new IMethod[fDeclarations.size()]); |
| ||||
if (alienTypes.size() == 0) //no nasty marriage scenarios without types to marry with... return (IMethod[]) relatedMethods.toArray(new IMethod[relatedMethods.size()]); |
| ||||
if (marriedAlienTypeReps.size() == 0) return (IMethod[]) relatedMethods.toArray(new IMethod[relatedMethods.size()]); |
| |||
if ( [[#variablea1941f80]].size() == [[#variablea1941ec0]]) //no nasty marriage scenarios without types to marry with... return (IMethod[]) [[#variablea1941e60]].toArray(new IMethod[ [[#variablea1941e60]].size()]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1941f80]] | partitioning |
1 | 2 | [[#a1941f80]] | marriedAlienTypeReps |
1 | 3 | [[#a1941f80]] | alienTypes |
2 | 1 | [[#a1941ec0]] | 1 |
2 | 2 | [[#a1941ec0]] | 0 |
2 | 3 | [[#a1941ec0]] | 0 |
3 | 1 | [[#a1941e60]] | fDeclarations |
3 | 2 | [[#a1941e60]] | relatedMethods |
3 | 3 | [[#a1941e60]] | relatedMethods |