| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 7 | 3 | 0.953 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 206 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| 2 | 8 | 242 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| 3 | 8 | 264 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| 4 | 8 | 389 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| 5 | 8 | 401 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| 6 | 8 | 415 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| 7 | 8 | 468 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, null);
|
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);
|
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter2 = new CodeFormatterVisitor2(this.preferences, this.options, offset, length, (CompilationUnit) node.getRoot());
|
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);
|
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);
|
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);
|
| ||||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this.newCodeFormatter2 = new CodeFormatterVisitor2(this.preferences, this.options, offset, length, (CompilationUnit) node.getRoot());
|
| |||
if (lineSeparator != null) {
this.preferences.line_separator = lineSeparator;
}
else {
this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this. [[#variable598467c0]]= new [[#variablebd9ffca0]](this.preferences, this.options, offset, length, [[#variableb5914020]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#598467c0]] | newCodeFormatter2 |
| 1 | 2 | [[#598467c0]] | newCodeFormatter |
| 1 | 3 | [[#598467c0]] | newCodeFormatter |
| 1 | 4 | [[#598467c0]] | newCodeFormatter2 |
| 1 | 5 | [[#598467c0]] | newCodeFormatter |
| 1 | 6 | [[#598467c0]] | newCodeFormatter |
| 1 | 7 | [[#598467c0]] | newCodeFormatter |
| 2 | 1 | [[#bd9ffca0]] | CodeFormatterVisitor2 |
| 2 | 2 | [[#bd9ffca0]] | CodeFormatterVisitor |
| 2 | 3 | [[#bd9ffca0]] | CodeFormatterVisitor |
| 2 | 4 | [[#bd9ffca0]] | CodeFormatterVisitor2 |
| 2 | 5 | [[#bd9ffca0]] | CodeFormatterVisitor |
| 2 | 6 | [[#bd9ffca0]] | CodeFormatterVisitor |
| 2 | 7 | [[#bd9ffca0]] | CodeFormatterVisitor |
| 3 | 1 | [[#b5914020]] | (CompilationUnit) node.getRoot() |
| 3 | 2 | [[#b5914020]] | null |
| 3 | 3 | [[#b5914020]] | this.codeSnippetParsingUtil |
| 3 | 4 | [[#b5914020]] | (CompilationUnit) node.getRoot() |
| 3 | 5 | [[#b5914020]] | this.codeSnippetParsingUtil |
| 3 | 6 | [[#b5914020]] | this.codeSnippetParsingUtil |
| 3 | 7 | [[#b5914020]] | this.codeSnippetParsingUtil |