Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.964 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 2974 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java |
2 | 9 | 2988 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java |
| ||||
if (CompilerOptions.VERSION_1_4.equals(version)) { if ( !this.didSpecifySource)this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_3); if ( !this.didSpecifyTarget)this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_2); } else if (CompilerOptions.VERSION_1_5.equals(version)) { if ( !this.didSpecifySource)this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5); if ( !this.didSpecifyTarget)this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5); } else if (CompilerOptions.VERSION_1_6.equals(version)) { if ( !this.didSpecifySource)this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_6); if ( !this.didSpecifyTarget)this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6); } |
| ||||
// default is source 1.3 target 1.2 and compliance 1.4 if (CompilerOptions.VERSION_1_4.equals(version)) { if ( !didSpecifyCompliance)this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_4); if ( !this.didSpecifyTarget)this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_4); } else if (CompilerOptions.VERSION_1_5.equals(version)) { if ( !didSpecifyCompliance)this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_5); if ( !this.didSpecifyTarget)this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5); } else if (CompilerOptions.VERSION_1_6.equals(version)) { if ( !didSpecifyCompliance)this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_6); if ( !this.didSpecifyTarget)this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6); } |
| |||
// default is source 1.3 target 1.2 and compliance 1.4 if (CompilerOptions.VERSION_1_4.equals(version)) { if ( ! [[#variable9307af20]]) this.options.put(CompilerOptions. [[#variable9307aea0]], CompilerOptions. [[#variable9307ae40]]); if ( !this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions. [[#variable9307ade0]]); } else if (CompilerOptions.VERSION_1_5.equals(version)) { if ( ! [[#variable9307af20]]) this.options.put(CompilerOptions. [[#variable9307aea0]], CompilerOptions.VERSION_1_5); if ( !this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5); } else if (CompilerOptions.VERSION_1_6.equals(version)) { if ( ! [[#variable9307af20]]) this.options.put(CompilerOptions. [[#variable9307aea0]], CompilerOptions.VERSION_1_6); if ( !this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9307af20]] | this.didSpecifySource |
1 | 2 | [[#9307af20]] | didSpecifyCompliance |
2 | 1 | [[#9307aea0]] | OPTION_Source |
2 | 2 | [[#9307aea0]] | OPTION_Compliance |
3 | 1 | [[#9307ae40]] | VERSION_1_3 |
3 | 2 | [[#9307ae40]] | VERSION_1_4 |
4 | 1 | [[#9307ade0]] | VERSION_1_2 |
4 | 2 | [[#9307ade0]] | VERSION_1_4 |