CloneSet3051


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6430.971statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16175
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java
26614
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
3655
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceReferenceUtil.java
46192
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java
Clone Instance
1
Line Count
6
Source Line
175
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java

                while (parent != null) {
                        if (parent.equals(superElement))
                                return true;
                        parent = parent.getParent();
                }
                return false;


Clone Instance
2
Line Count
6
Source Line
614
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

                while (parent != null) {
                        if (elements.contains(parent))
                                return true;
                        parent = parent.getParent();
                }
                return false;


Clone Instance
3
Line Count
6
Source Line
55
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceReferenceUtil.java

                while (parent != null) {
                        if (set.contains(parent))
                                return true;
                        parent = parent.getParent();
                }
                return false;


Clone Instance
4
Line Count
6
Source Line
192
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java

                while (parent != null) {
                        if (candidates.contains(parent))
                                return true;
                        parent = parent.getParent();
                }
                return false;


Clone AbstractionParameter Count: 3Parameter Bindings

while (parent != null) {
  if ( [[#variablea0692760]]. [[#variableb9fe4440]]( [[#variablea06926a0]]))
    return true;
  parent = parent.getParent();
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0692760]]
parent 
12[[#a0692760]]
elements 
13[[#a0692760]]
set 
14[[#a0692760]]
candidates 
21[[#b9fe4440]]
equals 
22[[#b9fe4440]]
contains 
23[[#b9fe4440]]
contains 
24[[#b9fe4440]]
contains 
31[[#a06926a0]]
superElement 
32[[#a06926a0]]
parent 
33[[#a06926a0]]
parent 
34[[#a06926a0]]
parent