CloneSet2381


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8320.988statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18636
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
28319
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
38574
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
8
Source Line
636
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                Alignment multiFieldDeclarationsAlignment = this.scribe.createAlignment(
                                 "multiple_field", //$NON-NLS-1$
                                  this.preferences.alignment_for_multiple_fields, 
                                 multipleFieldDeclarationsLength - 1, 
                                 this.scribe.scanner.currentPosition                   );
                this.scribe.enterAlignment(multiFieldDeclarationsAlignment);

                boolean ok = false;


Clone Instance
2
Line Count
8
Source Line
319
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                        // multiple field declaration
                        Alignment2 multiFieldDeclarationsAlignment = this.scribe.createAlignment(
                                         "multiple_field", //$NON-NLS-1$
                                          this.preferences.alignment_for_multiple_fields, 
                                         fragmentsLength - 1, 
                                         this.scribe.scanner.currentPosition                    );
                        this.scribe.enterAlignment(multiFieldDeclarationsAlignment);

                        boolean ok = false;


Clone Instance
3
Line Count
8
Source Line
574
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                        // multiple field declaration
                        Alignment2 multiFieldDeclarationsAlignment = this.scribe.createAlignment(
                                         "multiple_field", //$NON-NLS-1$
                                          this.preferences.alignment_for_multiple_fields, 
                                         fragmentsLength - 1, 
                                         this.scribe.scanner.currentPosition                    );
                        this.scribe.enterAlignment(multiFieldDeclarationsAlignment);

                        boolean ok = false;


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variablea402b560]] multiFieldDeclarationsAlignment = this.scribe.createAlignment("multiple_field", //$NON-NLS-1$
                                                                                      this.preferences.alignment_for_multiple_fields,  [[#variablea402b420]] - 1, this.scribe.scanner.currentPosition);
this.scribe.enterAlignment(multiFieldDeclarationsAlignment);
boolean ok = false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a402b560]]
// multiple field declaration
Alignment2 
12[[#a402b560]]
Alignment 
13[[#a402b560]]
// multiple field declaration
Alignment2 
21[[#a402b420]]
fragmentsLength 
22[[#a402b420]]
multipleFieldDeclarationsLength 
23[[#a402b420]]
fragmentsLength