CloneSet238


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13630.979statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113364
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
213418
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
313615
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
413663
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
5131213
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
6132801
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
13
Source Line
364
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                                                        Alignment2 assignmentAlignment = this.scribe.createAlignment("fieldDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                                                        this.scribe.enterAlignment(assignmentAlignment);
                                                        boolean ok2 = false;
                                                        do {
                                                                try {
                                                                        this.scribe.alignFragment(assignmentAlignment, 0);
                                                                        initialization.accept(this );
                                                                        ok2 = true;
                                                                } catch (AlignmentException e) {
                                                                        this.scribe.redoAlignment(e);
                                                                  }
                                                        }
                                                        while (  !ok2);
                                                        this.scribe.exitAlignment(assignmentAlignment, true);


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

                                Alignment2 assignmentAlignment = this.scribe.createAlignment("fieldDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                                this.scribe.enterAlignment(assignmentAlignment);
                                boolean ok = false;
                                do {
                                        try {
                                                this.scribe.alignFragment(assignmentAlignment, 0);
                                                initialization.accept(this );
                                                ok = true;
                                        } catch (AlignmentException e) {
                                                this.scribe.redoAlignment(e);
                                          }
                                }
                                while (  !ok);
                                this.scribe.exitAlignment(assignmentAlignment, true);


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

                                                        Alignment2 assignmentAlignment = this.scribe.createAlignment("fieldDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                                                        this.scribe.enterAlignment(assignmentAlignment);
                                                        boolean ok2 = false;
                                                        do {
                                                                try {
                                                                        this.scribe.alignFragment(assignmentAlignment, 0);
                                                                        initialization.accept(this );
                                                                        ok2 = true;
                                                                } catch (AlignmentException e) {
                                                                        this.scribe.redoAlignment(e);
                                                                  }
                                                        }
                                                        while (  !ok2);
                                                        this.scribe.exitAlignment(assignmentAlignment, true);


Clone Instance
4
Line Count
13
Source Line
663
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                                Alignment2 assignmentAlignment = this.scribe.createAlignment("localDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                                this.scribe.enterAlignment(assignmentAlignment);
                                boolean ok = false;
                                do {
                                        try {
                                                this.scribe.alignFragment(assignmentAlignment, 0);
                                                initialization.accept(this );
                                                ok = true;
                                        } catch (AlignmentException e) {
                                                this.scribe.redoAlignment(e);
                                          }
                                }
                                while (  !ok);
                                this.scribe.exitAlignment(assignmentAlignment, true);


Clone Instance
5
Line Count
13
Source Line
1213
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                Alignment2 assignmentAlignment = this.scribe.createAlignment("assignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                this.scribe.enterAlignment(assignmentAlignment);
                boolean ok = false;
                do {
                        try {
                                this.scribe.alignFragment(assignmentAlignment, 0);
                                node.getRightHandSide().accept(this );
                                ok = true;
                        } catch (AlignmentException e) {
                                this.scribe.redoAlignment(e);
                          }
                }
                while (  !ok);
                this.scribe.exitAlignment(assignmentAlignment, true);


Clone Instance
6
Line Count
13
Source Line
2801
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                        Alignment2 assignmentAlignment = this.scribe.createAlignment("localDeclarationAssignmentAlignment", this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                        this.scribe.enterAlignment(assignmentAlignment);
                        boolean ok = false;
                        do {
                                try {
                                        this.scribe.alignFragment(assignmentAlignment, 0);
                                        initialization.accept(this );
                                        ok = true;
                                } catch (AlignmentException e) {
                                        this.scribe.redoAlignment(e);
                                  }
                        }
                        while (  !ok);
                        this.scribe.exitAlignment(assignmentAlignment, true);


Clone AbstractionParameter Count: 3Parameter Bindings

Alignment2 assignmentAlignment = this.scribe.createAlignment( [[#variable5bc14d60]], this.preferences.alignment_for_assignment, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
this.scribe.enterAlignment(assignmentAlignment);
boolean  [[#variableb24c0540]]= false;
do {
  try {
    this.scribe.alignFragment(assignmentAlignment, 0);
     [[#variable5bc14dc0]].accept(this );
     [[#variableb24c0540]]= true;
  }
  catch (AlignmentException e) {
    this.scribe.redoAlignment(e);
  }
}
while ( ! [[#variableb24c0540]]);
this.scribe.exitAlignment(assignmentAlignment, true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5bc14d60]]
"fieldDeclarationAssignmentAlignment" 
12[[#5bc14d60]]
"localDeclarationAssignmentAlignment" 
13[[#5bc14d60]]
"fieldDeclarationAssignmentAlignment" 
14[[#5bc14d60]]
"assignmentAlignment" 
15[[#5bc14d60]]
"localDeclarationAssignmentAlignment" 
16[[#5bc14d60]]
"fieldDeclarationAssignmentAlignment" 
21[[#b24c0540]]
ok2 
22[[#b24c0540]]
ok 
23[[#b24c0540]]
ok 
24[[#b24c0540]]
ok 
25[[#b24c0540]]
ok 
26[[#b24c0540]]
ok2 
31[[#5bc14dc0]]
initialization 
32[[#5bc14dc0]]
initialization 
33[[#5bc14dc0]]
initialization 
34[[#5bc14dc0]]
node.getRightHandSide() 
35[[#5bc14dc0]]
initialization 
36[[#5bc14dc0]]
initialization