Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 778 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
2 | 7 | 1199 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
IfStatement outerIf = null; if (ifStatement.getParent() instanceof IfStatement) { outerIf = (IfStatement) ifStatement.getParent(); } else if (ifStatement.getParent() instanceof Block) { Block block = (Block) ifStatement.getParent(); if ((block.getParent() instanceof IfStatement) && (block.statements().size() == 1)) { outerIf = (IfStatement) block.getParent(); } } |
| ||||
IfStatement outerIf = null; if (ifStatement.getParent() instanceof IfStatement) { outerIf = (IfStatement) ifStatement.getParent(); } else if (ifStatement.getParent() instanceof Block) { Block block = (Block) ifStatement.getParent(); if ((block.getParent() instanceof IfStatement) && (block.statements().size() == 1)) { outerIf = (IfStatement) block.getParent(); } } |
| |||
IfStatement outerIf = null; if (ifStatement.getParent() instanceof IfStatement) { outerIf = (IfStatement) ifStatement.getParent(); } else if (ifStatement.getParent() instanceof Block) { Block block = (Block) ifStatement.getParent(); if ((block.getParent() instanceof IfStatement) && (block.statements().size() == 1)) { outerIf = (IfStatement) block.getParent(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |