| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 19 | 2 | 4 | 0.954 | class_body_declarations[12] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 19 | 38 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java |
| 2 | 19 | 41 | 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 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;
|
| ||||
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;
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b0824ae0]] | int[][] |
| 1 | 2 | [[#b0824ae0]] | List |
| 2 | 1 | [[#b0824a40]] | commentPositions |
| 2 | 2 | [[#b0824a40]] | comments |
| 3 | 1 | [[#59101f40]] | Alignment |
| 3 | 2 | [[#59101f40]] | Alignment2 |
| 4 | 1 | [[#b0824a60]] | CodeFormatterVisitor |
| 4 | 2 | [[#b0824a60]] | CodeFormatterVisitor2 |