Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 6 | 3 | 0.979 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 364 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
2 | 13 | 418 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
3 | 13 | 615 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
4 | 13 | 663 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
5 | 13 | 1213 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
6 | 13 | 2801 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
Alignment2 assignmentAlignment = this.scribe.createAlignment("fieldDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean ok2 = false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); initialization.accept(this ); ok2 = true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( !ok2); this.scribe.exitAlignment(assignmentAlignment, true); |
| ||||
Alignment2 assignmentAlignment = this.scribe.createAlignment("fieldDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean ok = false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); initialization.accept(this ); ok = true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( !ok); this.scribe.exitAlignment(assignmentAlignment, true); |
| ||||
Alignment2 assignmentAlignment = this.scribe.createAlignment("fieldDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean ok2 = false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); initialization.accept(this ); ok2 = true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( !ok2); this.scribe.exitAlignment(assignmentAlignment, true); |
| ||||
Alignment2 assignmentAlignment = this.scribe.createAlignment("localDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean ok = false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); initialization.accept(this ); ok = true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( !ok); this.scribe.exitAlignment(assignmentAlignment, true); |
| ||||
Alignment2 assignmentAlignment = this.scribe.createAlignment("assignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean ok = false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); node.getRightHandSide().accept(this ); ok = true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( !ok); this.scribe.exitAlignment(assignmentAlignment, true); |
| ||||
Alignment2 assignmentAlignment = this.scribe.createAlignment("localDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean ok = false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); initialization.accept(this ); ok = true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( !ok); this.scribe.exitAlignment(assignmentAlignment, true); |
| |||
Alignment2 assignmentAlignment = this.scribe.createAlignment( [[#variable5bc14d60]], this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$ this.scribe.enterAlignment(assignmentAlignment); boolean [[#variableb24c0540]]= false; do { try { this.scribe.alignFragment(assignmentAlignment, 0); [[#variable5bc14dc0]].accept(this ); [[#variableb24c0540]]= true; } catch (AlignmentException e) { this.scribe.redoAlignment(e); } } while ( ! [[#variableb24c0540]]); this.scribe.exitAlignment(assignmentAlignment, true); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5bc14d60]] | "fieldDeclarationAssignmentAlignment" |
1 | 2 | [[#5bc14d60]] | "localDeclarationAssignmentAlignment" |
1 | 3 | [[#5bc14d60]] | "fieldDeclarationAssignmentAlignment" |
1 | 4 | [[#5bc14d60]] | "assignmentAlignment" |
1 | 5 | [[#5bc14d60]] | "localDeclarationAssignmentAlignment" |
1 | 6 | [[#5bc14d60]] | "fieldDeclarationAssignmentAlignment" |
2 | 1 | [[#b24c0540]] | ok2 |
2 | 2 | [[#b24c0540]] | ok |
2 | 3 | [[#b24c0540]] | ok |
2 | 4 | [[#b24c0540]] | ok |
2 | 5 | [[#b24c0540]] | ok |
2 | 6 | [[#b24c0540]] | ok2 |
3 | 1 | [[#5bc14dc0]] | initialization |
3 | 2 | [[#5bc14dc0]] | initialization |
3 | 3 | [[#5bc14dc0]] | initialization |
3 | 4 | [[#5bc14dc0]] | node.getRightHandSide() |
3 | 5 | [[#5bc14dc0]] | initialization |
3 | 6 | [[#5bc14dc0]] | initialization |