Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 3 | 0.964 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 302 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java |
2 | 6 | 309 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java |
3 | 6 | 75 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| ||||
Object sourceLevelOption = options.get(JavaCore.COMPILER_SOURCE); long sourceLevel = ClassFileConstants.JDK1_3; if (JavaCore.VERSION_1_4.equals(sourceLevelOption)) { sourceLevel = ClassFileConstants.JDK1_4; } else if (JavaCore.VERSION_1_5.equals(sourceLevelOption)) { sourceLevel = ClassFileConstants.JDK1_5; } |
| ||||
Object complianceLevelOption = options.get(JavaCore.COMPILER_COMPLIANCE); long complianceLevel = ClassFileConstants.JDK1_3; if (JavaCore.VERSION_1_4.equals(complianceLevelOption)) { complianceLevel = ClassFileConstants.JDK1_4; } else if (JavaCore.VERSION_1_5.equals(complianceLevelOption)) { complianceLevel = ClassFileConstants.JDK1_5; } |
| ||||
Object sourceModeSetting = options.get(JavaCore.COMPILER_SOURCE); long sourceLevel = ClassFileConstants.JDK1_3; if (JavaCore.VERSION_1_4.equals(sourceModeSetting)) { sourceLevel = ClassFileConstants.JDK1_4; } else if (JavaCore.VERSION_1_5.equals(sourceModeSetting)) { sourceLevel = ClassFileConstants.JDK1_5; } |
| |||
Object [[#variable5a6a68c0]]= options.get(JavaCore. [[#variable5a6a68a0]]); long [[#variable5a6a6940]]= ClassFileConstants.JDK1_3; if (JavaCore.VERSION_1_4.equals( [[#variable5a6a68c0]])) { [[#variable5a6a6940]]= ClassFileConstants.JDK1_4; } else if (JavaCore.VERSION_1_5.equals( [[#variable5a6a68c0]])) { [[#variable5a6a6940]]= ClassFileConstants.JDK1_5; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a6a68c0]] | sourceModeSetting |
1 | 2 | [[#5a6a68c0]] | sourceLevelOption |
1 | 3 | [[#5a6a68c0]] | complianceLevelOption |
2 | 1 | [[#5a6a68a0]] | COMPILER_SOURCE |
2 | 2 | [[#5a6a68a0]] | COMPILER_SOURCE |
2 | 3 | [[#5a6a68a0]] | COMPILER_COMPLIANCE |
3 | 1 | [[#5a6a6940]] | sourceLevel |
3 | 2 | [[#5a6a6940]] | sourceLevel |
3 | 3 | [[#5a6a6940]] | complianceLevel |