Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 287 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDISourceViewer.java |
2 | 14 | 554 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSourceViewer.java |
| ||||
for (int i = 0; i < size; i++) { ITypedRegion segment = (ITypedRegion) segmentation.get(i); if (i == 0) segments[j++ ] = 0; int offset = segment.getOffset() - lineOffset; if (offset > segments[j - 1]) segments[j++ ] = offset; if (offset + segment.getLength() >= line.getLength()) break; segments[j++ ] = offset + segment.getLength(); } |
| ||||
for (int i = 0; i < size; i++) { ITypedRegion segment = (ITypedRegion) segmentation.get(i); if (i == 0) segments[j++ ] = 0; int offset = segment.getOffset() - lineOffset; if (offset > segments[j - 1]) segments[j++ ] = offset; if (offset + segment.getLength() >= line.getLength()) break; segments[j++ ] = offset + segment.getLength(); } |
| |||
for (int i = 0; i < size; i++) { ITypedRegion segment = (ITypedRegion) segmentation.get(i); if (i == 0) segments[j++ ] = 0; int offset = segment.getOffset() - lineOffset; if (offset > segments[j - 1]) segments[j++ ] = offset; if (offset + segment.getLength() >= line.getLength()) break; segments[j++ ] = offset + segment.getLength(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |