CloneSet5651


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1220.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19214
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
21430
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
Clone Instance
1
Line Count
9
Source Line
214
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

                // initialize a scanner
                this.scanner = new Scanner(
                                true
                                     /*comment*/
                                    , true
                                     /*whitespace*/
                                          , false
                                      /*nls*/
                                                 , ClassFileConstants.JDK1_3
                                                          /*sourceLevel*/
                                                                            , ClassFileConstants.JDK1_5
                                                          /*complianceLevel*/
                                                                                                       , null
                                    /*taskTag*/
                                                                                                             , null
                                    /*taskPriorities*/
                                                                                                                   , true
                                    /*taskCaseSensitive*/
                                                                                                                         );


Clone Instance
2
Line Count
1
Source Line
430
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                        // scanner use to check if the kind could be K_JAVA_DOC, K_MULTI_LINE_COMMENT or K_SINGLE_LINE_COMMENT 
                        ProbingScanner = new Scanner(true, true, false
                                                                      /*nls*/
                                                                      ,        ClassFileConstants.JDK1_3, ClassFileConstants.JDK1_3, null
                                                                                                                                         /*taskTags*/
                                                                                                                                         ,             null
                                                                                                                                                           /*taskPriorities*/
                                                                                                                                                           ,                   true
                                                                                                                                                                                   /*taskCaseSensitive*/
                                                                                                                                                                                   );


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable968a0b00]]= new Scanner(true
                                        /*comment*/
                                        , true
                                              /*whitespace*/
                                              , false
                                                     /*nls*/
                                                     , ClassFileConstants.JDK1_3
                                                                                /*sourceLevel*/
                                                                                , ClassFileConstants. [[#variable968a0a60]]
                                                                                                     /*complianceLevel*/
                                                                                                     , null
                                                                                                           /*taskTags*/
                                                                                                           /*taskTag*/
                                                                                                           , null
                                                                                                                 /*taskPriorities*/
                                                                                                                 , true
                                                                                                                       /*taskCaseSensitive*/
                                                                                                                       );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#968a0b00]]
// scanner use to check if the kind could be K_JAVA_DOC, K_MULTI_LINE_COMMENT or K_SINGLE_LINE_COMMENT 
ProbingScanner 
12[[#968a0b00]]
// initialize a scanner
this.scanner 
21[[#968a0a60]]
JDK1_3 
22[[#968a0a60]]
JDK1_5