CloneSet7948


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.978statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13145
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NodeFinder.java
24739
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
Clone Instance
1
Line Count
3
Source Line
145
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NodeFinder.java

                int nodeEnd = nodeStart + node.getLength();
                if (nodeEnd < fStart || fEnd < nodeStart) {
                        return false;
                }


Clone Instance
2
Line Count
4
Source Line
739
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                                int nodeEnd = nodeStart + node.getLength();
                                // if node does not intersects with selection, don't visit children
                                if (nodeEnd < selectionBegin || selectionEnd < nodeStart) {
                                        return false;
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

int nodeEnd = nodeStart + node.getLength();
// if node does not intersects with selection, don't visit children
if (nodeEnd <  [[#variable4ea75a80]]|| [[#variable4eec2240]] < nodeStart) {
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ea75a80]]
selectionBegin 
12[[#4ea75a80]]
fStart 
21[[#4eec2240]]
selectionEnd 
22[[#4eec2240]]
fEnd