Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 4 | 0.964 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 559 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java |
2 | 2 | 561 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java |
| ||||
Expression expression = node.getNodeType() == ASTNode.WHILE_STATEMENT ? ((WhileStatement) node).getExpression(): ((ForStatement) node).getExpression(); IRegion expressionRegion = createRegion(expression, info.delta); |
| ||||
Statement body = node.getNodeType() == ASTNode.WHILE_STATEMENT ? ((WhileStatement) node).getBody(): ((ForStatement) node).getBody(); IRegion bodyRegion = createRegion(body, info.delta); |
| |||
[[#variable7d753880]] [[#variable7d753820]]= node.getNodeType() == ASTNode.WHILE_STATEMENT ? ((WhileStatement) node). [[#variable7d753780]](): ((ForStatement) node). [[#variable7d753780]](); IRegion [[#variable7d7536e0]]= createRegion( [[#variable7d753820]], info.delta); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d753880]] | Expression |
1 | 2 | [[#7d753880]] | Statement |
2 | 1 | [[#7d753820]] | expression |
2 | 2 | [[#7d753820]] | body |
3 | 1 | [[#7d753780]] | getExpression |
3 | 2 | [[#7d753780]] | getBody |
4 | 1 | [[#7d7536e0]] | expressionRegion |
4 | 2 | [[#7d7536e0]] | bodyRegion |