CloneSet3684


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.951statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15715
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
25419
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMethodPage.java
Clone Instance
1
Line Count
5
Source Line
715
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                for (int i = 0; i < elements.length; i++) {
                        if (elements[i] instanceof IField)
                                fields.add(elements[i]);
                }
                return (IField[]) fields.toArray(new IField[fields.size()]);


Clone Instance
2
Line Count
5
Source Line
419
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMethodPage.java

                for (int i = 0; i < checked.length; i++) {
                        if (checked[i] instanceof IMethod)
                                members.add(checked[i]);
                }
                return (IMethod[]) members.toArray(new IMethod[members.size()]);


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable52dae1e0]].length; i++) {
  if ( [[#variable52dae1e0]][i] instanceof [[#variable531e6580]])
     [[#variable52dae2c0]].add( [[#variable52dae1e0]][i]);
}
return ( [[#variable531e6580]][])  [[#variable52dae2c0]].toArray(new [[#variable531e6580]][ [[#variable52dae2c0]].size()]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52dae1e0]]
checked 
12[[#52dae1e0]]
elements 
21[[#531e6580]]
IMethod 
22[[#531e6580]]
IField 
31[[#52dae2c0]]
members 
32[[#52dae2c0]]
fields