Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1865 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
2 | 5 | 3324 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
public boolean visit(FieldAccess node) { node.getExpression().accept(this ); this.scribe.printNextToken(TerminalTokens.TokenNameDOT); this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier); return false; } |
| ||||
public boolean visit(TypeLiteral node) { node.getType().accept(this ); this.scribe.printNextToken(TerminalTokens.TokenNameDOT); this.scribe.printNextToken(TerminalTokens.TokenNameclass); return false; } |
| |||
public boolean visit( [[#variable95ae0ba0]] node) { node. [[#variable95ae0b20]]().accept(this ); this.scribe.printNextToken(TerminalTokens.TokenNameDOT); this.scribe.printNextToken(TerminalTokens. [[#variable95ae0a80]]); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95ae0ba0]] | FieldAccess |
1 | 2 | [[#95ae0ba0]] | TypeLiteral |
2 | 1 | [[#95ae0b20]] | getExpression |
2 | 2 | [[#95ae0b20]] | getType |
3 | 1 | [[#95ae0a80]] | TokenNameIdentifier |
3 | 2 | [[#95ae0a80]] | TokenNameclass |