Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 654 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java |
2 | 5 | 662 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java |
| ||||
if (globalErrorsCount > 0) { if (globalErrorsCount == 1) { errorMessage = this.main.bind("compile.oneError"); //$NON-NLS-1$ } else { errorMessage = this.main.bind("compile.severalErrors", String.valueOf(globalErrorsCount)); //$NON-NLS-1$ } } |
| ||||
if (warningsNumber > 0) { if (warningsNumber == 1) { warningMessage = this.main.bind("compile.oneWarning"); //$NON-NLS-1$ } else { warningMessage = this.main.bind("compile.severalWarnings", String.valueOf(warningsNumber)); //$NON-NLS-1$ } } |
| |||
if ( [[#variable9bacad40]] > 0) { if ( [[#variable9bacad40]]== 1) { [[#variable9bacacc0]]= this.main.bind( [[#variable9bacac20]]); //$NON-NLS-1$ } else { [[#variable9bacacc0]]= this.main.bind( [[#variable9bacab20]], String.valueOf( [[#variable9bacad40]])); //$NON-NLS-1$ } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bacad40]] | globalErrorsCount |
1 | 2 | [[#9bacad40]] | warningsNumber |
2 | 1 | [[#9bacacc0]] | errorMessage |
2 | 2 | [[#9bacacc0]] | warningMessage |
3 | 1 | [[#9bacac20]] | "compile.oneError" |
3 | 2 | [[#9bacac20]] | "compile.oneWarning" |
4 | 1 | [[#9bacab20]] | "compile.severalErrors" |
4 | 2 | [[#9bacab20]] | "compile.severalWarnings" |