CloneSet4182


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19240.954class_body_declarations[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11938
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java
21941
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe2.java
Clone Instance
1
Line Count
19
Source Line
38
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java

        private static final int INITIAL_SIZE = 100;

        private boolean checkLineWrapping;

        /** one-based column */
        public int column;

        private int[][] commentPositions;

        // Most specific alignment. 
        public Alignment currentAlignment;

        public int currentToken;

        // edits management
        private OptimizedReplaceEdit[] edits;

        public int editsIndex;

        public CodeFormatterVisitor formatter;

        public int indentationLevel;

        public int lastNumberOfNewLines;

        public int line;


Clone Instance
2
Line Count
19
Source Line
41
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe2.java

        private static final int INITIAL_SIZE = 100;

        private boolean checkLineWrapping;

        /** one-based column */
        public int column;

        private List comments;

        // Most specific alignment. 
        public Alignment2 currentAlignment;

        public int currentToken;

        // edits management
        private OptimizedReplaceEdit[] edits;

        public int editsIndex;

        public CodeFormatterVisitor2 formatter;

        public int indentationLevel;

        public int lastNumberOfNewLines;

        public int line;


Clone AbstractionParameter Count: 4Parameter Bindings

private static final int INITIAL_SIZE = 100;

private boolean checkLineWrapping;

/** one-based column */
public int column;

private [[#variableb0824ae0]]  [[#variableb0824a40]];

// Most specific alignment. 
public [[#variable59101f40]] currentAlignment;

public int currentToken;

// edits management
private OptimizedReplaceEdit[] edits;

public int editsIndex;

public [[#variableb0824a60]] formatter;

public int indentationLevel;

public int lastNumberOfNewLines;

public int line;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b0824ae0]]
int[][] 
12[[#b0824ae0]]
List 
21[[#b0824a40]]
commentPositions 
22[[#b0824a40]]
comments 
31[[#59101f40]]
Alignment 
32[[#59101f40]]
Alignment2 
41[[#b0824a60]]
CodeFormatterVisitor 
42[[#b0824a60]]
CodeFormatterVisitor2