CloneSet3815


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
14261
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java
24584
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java
Clone Instance
1
Line Count
4
Source Line
261
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java

                // -1 to for one-based to zero-based conversion.
                // -1, again, to get previous line.
                final int previousLineOffset = this.lineEndTable[line - 2];
                 // previousLineOffset + 1 is the first character of the current line
                final int offsetForLine = previousLineOffset + 1;
                final int currentLineEnd = line == length + 1 ? getStartPosition() + getLength() - 1:   this.lineEndTable[line - 1];


Clone Instance
2
Line Count
4
Source Line
584
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java

                // -1 to for one-based to zero-based conversion.
                // -1, again, to get previous line.
                final int previousLineOffset = this.lineEndTable[line - 2];
                 // previousLineOffset + 1 is the first character of the current line
                final int offsetForLine = previousLineOffset + 1;
                final int currentLineEnd = line == length + 1 ? getStartPosition() + getLength() - 1:  this.lineEndTable[line - 1];


Clone AbstractionParameter Count: 0Parameter Bindings

// -1 to for one-based to zero-based conversion.
// -1, again, to get previous line.
final int previousLineOffset = this.lineEndTable[line - 2];
// previousLineOffset + 1 is the first character of the current line
final int offsetForLine = previousLineOffset + 1;
final int currentLineEnd = line == length + 1 ? getStartPosition() + getLength() - 1: this.lineEndTable[line - 1];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None