CloneSet2182


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

                                                        if (newLineBeforeChunk > 0 && i != 0) {
                                                                this.scribe.printEmptyLines(newLineBeforeChunk);
                                                        }
                                                        else   if (i == 0) {
                                                                int newLinesBeforeFirstClassBodyDeclaration = this.preferences.blank_lines_before_first_class_body_declaration;
                                                                if (newLinesBeforeFirstClassBodyDeclaration > 0) {
                                                                        this.scribe.printEmptyLines(newLinesBeforeFirstClassBodyDeclaration);
                                                                }
                                                               }


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

                                                        if (newLineBeforeChunk > 0 && i != 0) {
                                                                this.scribe.printEmptyLines(newLineBeforeChunk);
                                                        }
                                                        else   if (i == 0) {
                                                                int newLinesBeforeFirstClassBodyDeclaration = this.preferences.blank_lines_before_first_class_body_declaration;
                                                                if (newLinesBeforeFirstClassBodyDeclaration > 0) {
                                                                        this.scribe.printEmptyLines(newLinesBeforeFirstClassBodyDeclaration);
                                                                }
                                                               }


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

                                                        if (newLineBeforeChunk > 0 && i != 0) {
                                                                this.scribe.printEmptyLines(newLineBeforeChunk);
                                                        }
                                                        else   if (i == 0) {
                                                                int newLinesBeforeFirstClassBodyDeclaration = this.preferences.blank_lines_before_first_class_body_declaration;
                                                                if (newLinesBeforeFirstClassBodyDeclaration > 0) {
                                                                        this.scribe.printEmptyLines(newLinesBeforeFirstClassBodyDeclaration);
                                                                }
                                                               }


Clone AbstractionParameter Count: 0Parameter Bindings

if (newLineBeforeChunk > 0 && i != 0) {
  this.scribe.printEmptyLines(newLineBeforeChunk);
}
else
  if (i == 0) {
    int newLinesBeforeFirstClassBodyDeclaration = this.preferences.blank_lines_before_first_class_body_declaration;
    if (newLinesBeforeFirstClassBodyDeclaration > 0) {
      this.scribe.printEmptyLines(newLinesBeforeFirstClassBodyDeclaration);
    }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None