Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 3109 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 13 | 4034 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
3 | 13 | 2247 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
switch (this.scribe.scanner.source[this.scribe.scanner.currentPosition]) { case '\n': this.scribe.scanner.currentPosition++; this.scribe.lastNumberOfNewLines = 1; break; case '\r': this.scribe.scanner.currentPosition++; if (this.scribe.scanner.source[this.scribe.scanner.currentPosition] == '\n') { this.scribe.scanner.currentPosition++; } this.scribe.lastNumberOfNewLines = 1; } return false; |
| ||||
switch (this.scribe.scanner.source[this.scribe.scanner.currentPosition]) { case '\n': this.scribe.scanner.currentPosition++; this.scribe.lastNumberOfNewLines = 1; break; case '\r': this.scribe.scanner.currentPosition++; if (this.scribe.scanner.source[this.scribe.scanner.currentPosition] == '\n') { this.scribe.scanner.currentPosition++; } this.scribe.lastNumberOfNewLines = 1; } return false; |
| ||||
switch (this.scribe.scanner.source[this.scribe.scanner.currentPosition]) { case '\n': this.scribe.scanner.currentPosition++; this.scribe.lastNumberOfNewLines = 1; break; case '\r': this.scribe.scanner.currentPosition++; if (this.scribe.scanner.source[this.scribe.scanner.currentPosition] == '\n') { this.scribe.scanner.currentPosition++; } this.scribe.lastNumberOfNewLines = 1; } return false; |
| |||
switch (this.scribe.scanner.source[this.scribe.scanner.currentPosition]) { case '\n': this.scribe.scanner.currentPosition++; this.scribe.lastNumberOfNewLines = 1; break; case '\r': this.scribe.scanner.currentPosition++; if (this.scribe.scanner.source[this.scribe.scanner.currentPosition] == '\n') { this.scribe.scanner.currentPosition++; } this.scribe.lastNumberOfNewLines = 1; } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |