Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 4 | 0.967 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1683 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 7 | 1734 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
3 | 8 | 1873 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| ||||
Alignment argumentsAlignment = this.scribe.createAlignment( "methodArguments", //$NON-NLS-1$ methodDeclarationParametersAlignment, argumentLength, this.scribe.scanner.currentPosition ); this.scribe.enterAlignment(argumentsAlignment); boolean ok = false; |
| ||||
Alignment argumentsAlignment = this.scribe.createAlignment( "enumConstantArguments", //$NON-NLS-1$ methodDeclarationParametersAlignment, argumentLength, this.scribe.scanner.currentPosition ); this.scribe.enterAlignment(argumentsAlignment); boolean ok = false; |
| ||||
Alignment throwsAlignment = this.scribe.createAlignment( "throws", //$NON-NLS-1$ alignmentForThrowsClause, thrownExceptionsLength, // throws is the first token this.scribe.scanner.currentPosition ); this.scribe.enterAlignment(throwsAlignment); boolean ok = false; |
| |||
Alignment [[#variablea33d1120]]= this.scribe.createAlignment( [[#variable7d716e60]], //$NON-NLS-1$ [[#variable529a7980]], [[#variablea33d10e0]], // throws is the first token this.scribe.scanner.currentPosition); this.scribe.enterAlignment( [[#variablea33d1120]]); boolean ok = false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a33d1120]] | argumentsAlignment |
1 | 2 | [[#a33d1120]] | argumentsAlignment |
1 | 3 | [[#a33d1120]] | throwsAlignment |
2 | 1 | [[#7d716e60]] | "methodArguments" |
2 | 2 | [[#7d716e60]] | "enumConstantArguments" |
2 | 3 | [[#7d716e60]] | "throws" |
3 | 1 | [[#529a7980]] | methodDeclarationParametersAlignment |
3 | 2 | [[#529a7980]] | methodDeclarationParametersAlignment |
3 | 3 | [[#529a7980]] | alignmentForThrowsClause |
4 | 1 | [[#a33d10e0]] | argumentLength |
4 | 2 | [[#a33d10e0]] | argumentLength |
4 | 3 | [[#a33d10e0]] | thrownExceptionsLength |