Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 6 | 0.965 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 266 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
2 | 5 | 382 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
| ||||
{ int type = expression.getNodeType(); return type == ASTNode.BOOLEAN_LITERAL || type == ASTNode.CHARACTER_LITERAL || type == ASTNode.NULL_LITERAL || type == ASTNode.NUMBER_LITERAL || type == ASTNode.STRING_LITERAL || type == ASTNode.TYPE_LITERAL; } |
| ||||
{ int type = expression.getNodeType(); return type == ASTNode.INFIX_EXPRESSION || type == ASTNode.CONDITIONAL_EXPRESSION || type == ASTNode.PREFIX_EXPRESSION || type == ASTNode.POSTFIX_EXPRESSION || type == ASTNode.CAST_EXPRESSION || type == ASTNode.INSTANCEOF_EXPRESSION; } |
| |||
{ int type = expression.getNodeType(); return type == ASTNode. [[#variable585cecc0]]|| type == ASTNode. [[#variable585cec20]]|| type == ASTNode. [[#variable585ceb60]]|| type == ASTNode. [[#variable585ceb80]]|| type == ASTNode. [[#variable585ce1c0]]|| type == ASTNode. [[#variable585ce860]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#585cecc0]] | BOOLEAN_LITERAL |
1 | 2 | [[#585cecc0]] | INFIX_EXPRESSION |
2 | 1 | [[#585cec20]] | CHARACTER_LITERAL |
2 | 2 | [[#585cec20]] | CONDITIONAL_EXPRESSION |
3 | 1 | [[#585ceb60]] | NULL_LITERAL |
3 | 2 | [[#585ceb60]] | PREFIX_EXPRESSION |
4 | 1 | [[#585ceb80]] | NUMBER_LITERAL |
4 | 2 | [[#585ceb80]] | POSTFIX_EXPRESSION |
5 | 1 | [[#585ce1c0]] | STRING_LITERAL |
5 | 2 | [[#585ce1c0]] | CAST_EXPRESSION |
6 | 1 | [[#585ce860]] | TYPE_LITERAL |
6 | 2 | [[#585ce860]] | INSTANCEOF_EXPRESSION |