CloneSet1220


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.974statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17507
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
271120
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
372506
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
7
Source Line
507
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                for (int i = 0; i < statementsLength; i++) {
                                        if (statements[i] instanceof org.eclipse.jdt.internal.compiler.ast.LocalDeclaration) {
                                                checkAndAddMultipleLocalDeclaration(statements, i, block.statements());
                                        }
                                        else   {
                                                final Statement statement = convert(statements[i]);
                                                if (statement != null) {
                                                        block.statements().add(statement);
                                                }
                                        }
                                }


Clone Instance
2
Line Count
7
Source Line
1120
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                        for (int i = 0; i < statementsLength; i++) {
                                if (statements[i] instanceof org.eclipse.jdt.internal.compiler.ast.LocalDeclaration) {
                                        checkAndAddMultipleLocalDeclaration(statements, i, block.statements());
                                }
                                else   {
                                        Statement statement2 = convert(statements[i]);
                                        if (statement2 != null) {
                                                block.statements().add(statement2);
                                        }
                                }
                        }


Clone Instance
3
Line Count
7
Source Line
2506
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                        for (int i = 0; i < statementsLength; i++) {
                                if (statements[i] instanceof org.eclipse.jdt.internal.compiler.ast.LocalDeclaration) {
                                        checkAndAddMultipleLocalDeclaration(statements, i, switchStatement.statements());
                                }
                                else   {
                                        final Statement currentStatement = convert(statements[i]);
                                        if (currentStatement != null) {
                                                switchStatement.statements().add(currentStatement);
                                        }
                                }
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i < statementsLength; i++) {
  if (statements[i] instanceof org.eclipse.jdt.internal.compiler.ast.LocalDeclaration) {
    checkAndAddMultipleLocalDeclaration(statements, i,  [[#variablebae73d20]].statements());
  }
  else {
     [[#variablebae73d00]]Statement  [[#variablebae73e00]]= convert(statements[i]);
    if ( [[#variablebae73e00]]!= null) {
       [[#variablebae73d20]].statements().add( [[#variablebae73e00]]);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bae73d20]]
switchStatement 
12[[#bae73d20]]
block 
13[[#bae73d20]]
block 
21[[#bae73d00]]
final 
22[[#bae73d00]]
23[[#bae73d00]]
final 
31[[#bae73e00]]
currentStatement 
32[[#bae73e00]]
statement2 
33[[#bae73e00]]
statement