CloneSet4179


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.958statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15654
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
25662
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
Clone Instance
1
Line Count
5
Source Line
654
Source File
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$
                                        }
                                }


Clone Instance
2
Line Count
5
Source Line
662
Source File
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java

                                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$
                                        }
                                }


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bacad40]]
globalErrorsCount 
12[[#9bacad40]]
warningsNumber 
21[[#9bacacc0]]
errorMessage 
22[[#9bacacc0]]
warningMessage 
31[[#9bacac20]]
"compile.oneError" 
32[[#9bacac20]]
"compile.oneWarning" 
41[[#9bacab20]]
"compile.severalErrors" 
42[[#9bacab20]]
"compile.severalWarnings"