CloneSet4785


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14484
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMField.java
23816
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMNode.java
Clone Instance
1
Line Count
4
Source Line
484
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMField.java

                // this node's end position is just before the start of the next node
                // unless the next node is a field that is declared along with this one
                int temp = next.getStartPosition() - 1;
                fInsertionPosition = Math.max(finder.getLineStart(temp + 1), getEndPosition());

                next.normalizeStartPosition(getEndPosition(), finder);


Clone Instance
2
Line Count
3
Source Line
816
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMNode.java

                // this node's end position is just before the start of the next node
                int temp = next.getStartPosition() - 1;
                fInsertionPosition = Math.max(finder.getLineStart(temp + 1), getEndPosition());
                next.normalizeStartPosition(getEndPosition(), finder);


Clone AbstractionParameter Count: 0Parameter Bindings

// this node's end position is just before the start of the next node
// unless the next node is a field that is declared along with this one
int temp = next.getStartPosition() - 1;
fInsertionPosition = Math.max(finder.getLineStart(temp + 1), getEndPosition());
next.normalizeStartPosition(getEndPosition(), finder);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None