CloneSet5482


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2330.954statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12170
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java
22201
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java
32246
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java
Clone Instance
1
Line Count
2
Source Line
170
Source File
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()]);


Clone Instance
2
Line Count
2
Source Line
201
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java

                if (alienTypes.size() == 0) //no nasty marriage scenarios without types to marry with...
                        return (IMethod[]) relatedMethods.toArray(new IMethod[relatedMethods.size()]);


Clone Instance
3
Line Count
2
Source Line
246
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java

                        if (marriedAlienTypeReps.size() == 0)
                                return (IMethod[]) relatedMethods.toArray(new IMethod[relatedMethods.size()]);


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variablea1941f80]].size() == [[#variablea1941ec0]]) //no nasty marriage scenarios without types to marry with...
  return (IMethod[])  [[#variablea1941e60]].toArray(new IMethod[ [[#variablea1941e60]].size()]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1941f80]]
partitioning 
12[[#a1941f80]]
marriedAlienTypeReps 
13[[#a1941f80]]
alienTypes 
21[[#a1941ec0]]
1 
22[[#a1941ec0]]
0 
23[[#a1941ec0]]
0 
31[[#a1941e60]]
fDeclarations 
32[[#a1941e60]]
relatedMethods 
33[[#a1941e60]]
relatedMethods