CloneSet1874


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.978statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1121692
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2121746
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
12
Source Line
1692
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                        for (int i = 0; i < argumentLength; i++) {
                                                if (i > 0) {
                                                        this.scribe.printNextToken(TerminalTokens.TokenNameCOMMA, spaceBeforeComma);
                                                        this.scribe.printTrailingComment();
                                                }
                                                this.scribe.alignFragment(argumentsAlignment, i);
                                                if (i > 0 && spaceAfterComma) {
                                                        this.scribe.space();
                                                }
                                                arguments[i].traverse(this, methodDeclaration.scope);
                                        }
                                        ok = true;


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

                                        for (int i = 0; i < argumentLength; i++) {
                                                if (i > 0) {
                                                        this.scribe.printNextToken(TerminalTokens.TokenNameCOMMA, spaceBeforeComma);
                                                        this.scribe.printTrailingComment();
                                                }
                                                this.scribe.alignFragment(argumentsAlignment, i);
                                                if (i > 0 && spaceAfterComma) {
                                                        this.scribe.space();
                                                }
                                                arguments[i].traverse(this, (BlockScope) null);
                                        }
                                        ok = true;


Clone AbstractionParameter Count: 1Parameter Bindings

for (int i = 0; i < argumentLength; i++) {
  if (i > 0) {
    this.scribe.printNextToken(TerminalTokens.TokenNameCOMMA, spaceBeforeComma);
    this.scribe.printTrailingComment();
  }
  this.scribe.alignFragment(argumentsAlignment, i);
  if (i > 0 && spaceAfterComma) {
    this.scribe.space();
  }
  arguments[i].traverse(this,  [[#variablebcc67cc0]]);
}
ok = true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bcc67cc0]]
methodDeclaration.scope 
12[[#bcc67cc0]]
(BlockScope) null