CloneSet1923


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17819
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
271232
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
Clone Instance
1
Line Count
7
Source Line
819
Source File
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);
                                }
                               }


Clone Instance
2
Line Count
7
Source Line
1232
Source File
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);
                                }
                               }


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None