CloneSet424


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13420.987statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113583
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2131556
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
3132709
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
4133024
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
13
Source Line
583
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

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


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

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


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

                Alignment assignmentAlignment = this.scribe.createAlignment("assignmentAlignment", this.preferences.alignment_for_assignment, Alignment.R_OUTERMOST, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                this.scribe.enterAlignment(assignmentAlignment);
                boolean ok = false;
                do {
                        try {
                                this.scribe.alignFragment(assignmentAlignment, 0);
                                assignment.expression.traverse(this, scope);
                                ok = true;
                        } catch (AlignmentException e) {
                                this.scribe.redoAlignment(e);
                          }
                }
                while (  !ok);
                this.scribe.exitAlignment(assignmentAlignment, true);


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

                Alignment assignmentAlignment = this.scribe.createAlignment("compoundAssignmentAlignment", this.preferences.alignment_for_assignment, Alignment.R_OUTERMOST, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
                this.scribe.enterAlignment(assignmentAlignment);
                boolean ok = false;
                do {
                        try {
                                this.scribe.alignFragment(assignmentAlignment, 0);
                                compoundAssignment.expression.traverse(this, scope);
                                ok = true;
                        } catch (AlignmentException e) {
                                this.scribe.redoAlignment(e);
                          }
                }
                while (  !ok);
                this.scribe.exitAlignment(assignmentAlignment, true);


Clone AbstractionParameter Count: 2Parameter Bindings

Alignment assignmentAlignment = this.scribe.createAlignment( [[#variable574f6a20]], this.preferences.alignment_for_assignment, Alignment.R_OUTERMOST, 1, this.scribe.scanner.currentPosition); //$NON-NLS-1$
this.scribe.enterAlignment(assignmentAlignment);
boolean ok = false;
do {
  try {
    this.scribe.alignFragment(assignmentAlignment, 0);
     [[#variableb8ec55c0]].traverse(this, scope);
    ok = true;
  }
  catch (AlignmentException e) {
    this.scribe.redoAlignment(e);
  }
}
while ( !ok);
this.scribe.exitAlignment(assignmentAlignment, true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#574f6a20]]
"fieldDeclarationAssignmentAlignment" 
12[[#574f6a20]]
"localDeclarationAssignmentAlignment" 
13[[#574f6a20]]
"assignmentAlignment" 
14[[#574f6a20]]
"compoundAssignmentAlignment" 
21[[#b8ec55c0]]
initialization 
22[[#b8ec55c0]]
initialization 
23[[#b8ec55c0]]
assignment.expression 
24[[#b8ec55c0]]
compoundAssignment.expression