Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.995 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 571 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java |
2 | 3 | 185 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPairMatcher.java |
| ||||
int prevToken = scanner.previousToken(offset - 1, startLine.getOffset()); int prevTokenOffset = scanner.getPosition() + 1; String previous = prevToken == Symbols.TokenEOF ? null: document.get(prevTokenOffset, offset - prevTokenOffset).trim(); |
| ||||
int prevToken = scanner.previousToken(offset - 1, line.getOffset()); int prevTokenOffset = scanner.getPosition() + 1; String previous = prevToken == Symbols.TokenEOF ? null: document.get(prevTokenOffset, offset - prevTokenOffset).trim(); |
| |||
int prevToken = scanner.previousToken(offset - 1, [[#variable5a8ce680]].getOffset()); int prevTokenOffset = scanner.getPosition() + 1; String previous = prevToken == Symbols.TokenEOF ? null: document.get(prevTokenOffset, offset - prevTokenOffset).trim(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a8ce680]] | startLine |
1 | 2 | [[#5a8ce680]] | line |