Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 261 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java |
2 | 4 | 584 | 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]; |
| ||||
// -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]; |
| |||
// -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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |