CloneSet4574


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.993statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15651
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
25334
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
5
Source Line
651
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                        /*
                                         * Field name
                                         */
                                        if (i == 0) {
                                                this.scribe.alignFragment(fieldAlignment, 0);
                                                this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
                                        }
                                        else   {
                                                this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, false);
                                        }


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

                                                /*
                                                 * Field name
                                                 */
                                                if (i == 0) {
                                                        this.scribe.alignFragment(memberAlignment, 0);
                                                        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
                                                }
                                                else   {
                                                        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, false);
                                                }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
                                                 * Field name
                                                 */
/*
                                         * Field name
                                         */
if (i == 0) {
  this.scribe.alignFragment( [[#variableb2a09280]], 0);
  this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
}
else {
  this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, false);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2a09280]]
memberAlignment 
12[[#b2a09280]]
fieldAlignment