CloneSet3573


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.976statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15654
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
25129
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java
35180
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetDropAdapter.java
Clone Instance
1
Line Count
5
Source Line
654
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

                for (int i = 0; i < selectedNodes.length; i++) {
                        if ( ! (selectedNodes[i] instanceof Expression))
                                return false;
                }
                return true;


Clone Instance
2
Line Count
5
Source Line
129
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java

                for (int i = 0; i < nodes.length; i++) {
                        if ( !(nodes[i] instanceof Statement))
                                return false;
                }
                return true;


Clone Instance
3
Line Count
5
Source Line
180
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetDropAdapter.java

                for (int i = 0; i < fElementsToAdds.length; i++) {
                        if ( !(fElementsToAdds[i] instanceof IWorkingSet))
                                return false;
                }
                return true;


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0; i <  [[#variableb30540e0]].length; i++) {
  if ( !( [[#variableb30540e0]][i] instanceof [[#variablea385da60]]))
    return false;
}
return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b30540e0]]
fElementsToAdds 
12[[#b30540e0]]
nodes 
13[[#b30540e0]]
selectedNodes 
21[[#a385da60]]
IWorkingSet 
22[[#a385da60]]
Statement 
23[[#a385da60]]
Expression