CloneSet4770


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.959executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
172143
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
242268
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
Clone Instance
1
Line Count
7
Source Line
2143
Source File
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java

                                                               if (token.equals("source")) { //$NON-NLS-1$
                                                                this.options.put(
                                                                        CompilerOptions.OPTION_SourceFileAttribute, 
                                                                        CompilerOptions.GENERATE);
                                                               }
                                                               else {
                                                                throw new InvalidInputException(
                                                                        this.bind("configure.invalidDebugOption", debugOption)); //$NON-NLS-1$
                                                               }


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

                                       if (currentArg.equals("jsr14")) { //$NON-NLS-1$
                                        this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_JSR14);
                                       }
                                       else {
                                        throw new InvalidInputException(this.bind("configure.targetJDK", currentArg)); //$NON-NLS-1$
                                       }


Clone AbstractionParameter Count: 6Parameter Bindings

if ( [[#variable9e780840]].equals( [[#variable9e780780]])) { //$NON-NLS-1$
  this.options.put(CompilerOptions. [[#variable9e7806c0]], CompilerOptions. [[#variable9e780660]]);
}
else {
  throw new InvalidInputException(this.bind( [[#variable9e780600]],  [[#variable9e7805a0]])); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e780840]]
token 
12[[#9e780840]]
currentArg 
21[[#9e780780]]
"source" 
22[[#9e780780]]
"jsr14" 
31[[#9e7806c0]]
OPTION_SourceFileAttribute 
32[[#9e7806c0]]
OPTION_TargetPlatform 
41[[#9e780660]]
GENERATE 
42[[#9e780660]]
VERSION_JSR14 
51[[#9e780600]]
"configure.invalidDebugOption" 
52[[#9e780600]]
"configure.targetJDK" 
61[[#9e7805a0]]
debugOption 
62[[#9e7805a0]]
currentArg