CloneSet1829


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6330.964statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16302
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
26309
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
3675
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
6
Source Line
302
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.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;
                       }


Clone Instance
2
Line Count
6
Source Line
309
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

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


Clone Instance
3
Line Count
6
Source Line
75
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

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


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a6a68c0]]
sourceModeSetting 
12[[#5a6a68c0]]
sourceLevelOption 
13[[#5a6a68c0]]
complianceLevelOption 
21[[#5a6a68a0]]
COMPILER_SOURCE 
22[[#5a6a68a0]]
COMPILER_SOURCE 
23[[#5a6a68a0]]
COMPILER_COMPLIANCE 
31[[#5a6a6940]]
sourceLevel 
32[[#5a6a6940]]
sourceLevel 
33[[#5a6a6940]]
complianceLevel