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 | 819 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
2 | 7 | 1232 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
IfStatement innerIf = null; if (ifStatement.getThenStatement() instanceof IfStatement) { innerIf = (IfStatement) ifStatement.getThenStatement(); } else if (ifStatement.getThenStatement() instanceof Block) { Block block = (Block) ifStatement.getThenStatement(); if ((block.statements().size() == 1) && (block.statements().get(0) instanceof IfStatement)) { innerIf = (IfStatement) block.statements().get(0); } } |
| ||||
IfStatement innerIf = null; if (ifStatement.getThenStatement() instanceof IfStatement) { innerIf = (IfStatement) ifStatement.getThenStatement(); } else if (ifStatement.getThenStatement() instanceof Block) { Block block = (Block) ifStatement.getThenStatement(); if ((block.statements().size() == 1) && (block.statements().get(0) instanceof IfStatement)) { innerIf = (IfStatement) block.statements().get(0); } } |
| |||
IfStatement innerIf = null; if (ifStatement.getThenStatement() instanceof IfStatement) { innerIf = (IfStatement) ifStatement.getThenStatement(); } else if (ifStatement.getThenStatement() instanceof Block) { Block block = (Block) ifStatement.getThenStatement(); if ((block.statements().size() == 1) && (block.statements().get(0) instanceof IfStatement)) { innerIf = (IfStatement) block.statements().get(0); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |