CloneSet1309


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9430.973block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
192781
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
293233
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
381243
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
481543
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
9
Source Line
2781
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                                                              {

                this.scribe.printNextToken(TerminalTokens.TokenNamebreak);
                if (breakStatement.label != null) {
                        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                this.scribe.printTrailingComment();
                return false;
                                                                              }


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

                                                                                    {

                this.scribe.printNextToken(TerminalTokens.TokenNamecontinue);
                if (continueStatement.label != null) {
                        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                this.scribe.printTrailingComment();
                return false;
                                                                                    }


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

                                                  {
                this.scribe.printNextToken(TerminalTokens.TokenNamebreak);
                if (node.getLabel() != null) {
                        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                this.scribe.printTrailingComment();
                return false;
                                                  }


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

                                                     {
                this.scribe.printNextToken(TerminalTokens.TokenNamecontinue);
                if (node.getLabel() != null) {
                        this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                this.scribe.printTrailingComment();
                return false;
                                                     }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  this.scribe.printNextToken(TerminalTokens. [[#variable986dcd40]]);
  if ( [[#variable96ad6520]] [[#variable96ad6600]]!= null) {
    this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true);
  }
  this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
  this.scribe.printTrailingComment();
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#986dcd40]]
TokenNamecontinue 
12[[#986dcd40]]
TokenNamebreak 
13[[#986dcd40]]
TokenNamecontinue 
14[[#986dcd40]]
TokenNamebreak 
21[[#96ad6520]]
continueStatement 
22[[#96ad6520]]
breakStatement 
23[[#96ad6520]]
node 
24[[#96ad6520]]
node 
31[[#96ad6600]]
.label 
32[[#96ad6600]]
.label 
33[[#96ad6600]]
.getLabel() 
34[[#96ad6600]]
.getLabel()