CloneSet409


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31610.968statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15139
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
25160
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
35225
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
43246
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
53182
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
63324
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java
73238
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForStatement.java
83311
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForStatement.java
93155
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java
105172
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java
115191
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java
125204
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java
133103
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LabeledStatement.java
143230
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java
153175
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java
163239
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java
Clone Instance
1
Line Count
5
Source Line
139
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java

                if (trueInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(
                                currentScope, 
                                trueInitStateIndex                     );
                        codeStream.addDefinitelyAssignedVariables(currentScope, trueInitStateIndex);
                }


Clone Instance
2
Line Count
5
Source Line
160
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java

                        if (falseInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(
                                        currentScope, 
                                        falseInitStateIndex                    );
                                codeStream.addDefinitelyAssignedVariables(currentScope, falseInitStateIndex);
                        }


Clone Instance
3
Line Count
5
Source Line
225
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java

                if (trueInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(
                                currentScope, 
                                trueInitStateIndex                     );
                        codeStream.addDefinitelyAssignedVariables(currentScope, trueInitStateIndex);
                }


Clone Instance
4
Line Count
3
Source Line
246
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java

                        if (falseInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(currentScope, falseInitStateIndex);
                                codeStream.addDefinitelyAssignedVariables(currentScope, falseInitStateIndex);
                        }


Clone Instance
5
Line Count
3
Source Line
182
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                        if (mergedInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                                codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        }


Clone Instance
6
Line Count
3
Source Line
324
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForeachStatement.java

                if (mergedInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                }


Clone Instance
7
Line Count
3
Source Line
238
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForStatement.java

                        if (mergedInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                                codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        }


Clone Instance
8
Line Count
3
Source Line
311
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ForStatement.java

                if (mergedInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                }


Clone Instance
9
Line Count
3
Source Line
155
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java

                        // May loose some local variable initializations : affecting the local variable attributes
                        if (thenInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(currentScope, thenInitStateIndex);
                                codeStream.addDefinitelyAssignedVariables(currentScope, thenInitStateIndex);
                        }


Clone Instance
10
Line Count
5
Source Line
172
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java

                                // May loose some local variable initializations : affecting the local variable attributes
                                if (elseInitStateIndex != -1) {
                                        codeStream.removeNotDefinitelyAssignedVariables(
                                                currentScope, 
                                                elseInitStateIndex                     );
                                        codeStream.addDefinitelyAssignedVariables(currentScope, elseInitStateIndex);
                                }


Clone Instance
11
Line Count
5
Source Line
191
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java

                        // generate else statement
                        // May loose some local variable initializations : affecting the local variable attributes
                        if (elseInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(
                                        currentScope, 
                                        elseInitStateIndex                     );
                                codeStream.addDefinitelyAssignedVariables(currentScope, elseInitStateIndex);
                        }


Clone Instance
12
Line Count
5
Source Line
204
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IfStatement.java

                // May loose some local variable initializations : affecting the local variable attributes
                if (mergedInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(
                                currentScope, 
                                mergedInitStateIndex                   );
                        codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                }


Clone Instance
13
Line Count
3
Source Line
103
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LabeledStatement.java

                // May loose some local variable initializations : affecting the local variable attributes
                if (mergedInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                }


Clone Instance
14
Line Count
3
Source Line
230
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java

                        // May loose some local variable initializations : affecting the local variable attributes
                        if (mergedInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                                codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        }


Clone Instance
15
Line Count
3
Source Line
175
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java

                        // May loose some local variable initializations : affecting the local variable attributes
                        if (mergedInitStateIndex != -1) {
                                codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                                codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        }


Clone Instance
16
Line Count
3
Source Line
239
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/WhileStatement.java

                // May loose some local variable initializations : affecting the local variable attributes
                if (mergedInitStateIndex != -1) {
                        codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                        codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

// generate else statement
// May loose some local variable initializations : affecting the local variable attributes
if ( [[#variableb3d77fc0]]!= -1) {
  codeStream.removeNotDefinitelyAssignedVariables(currentScope,  [[#variableb3d77fc0]]);
  codeStream.addDefinitelyAssignedVariables(currentScope,  [[#variableb3d77fc0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3d77fc0]]
falseInitStateIndex 
12[[#b3d77fc0]]
trueInitStateIndex 
13[[#b3d77fc0]]
elseInitStateIndex 
14[[#b3d77fc0]]
mergedInitStateIndex 
15[[#b3d77fc0]]
thenInitStateIndex 
16[[#b3d77fc0]]
mergedInitStateIndex 
17[[#b3d77fc0]]
mergedInitStateIndex 
18[[#b3d77fc0]]
mergedInitStateIndex 
19[[#b3d77fc0]]
mergedInitStateIndex 
110[[#b3d77fc0]]
mergedInitStateIndex 
111[[#b3d77fc0]]
mergedInitStateIndex 
112[[#b3d77fc0]]
mergedInitStateIndex 
113[[#b3d77fc0]]
falseInitStateIndex 
114[[#b3d77fc0]]
trueInitStateIndex 
115[[#b3d77fc0]]
elseInitStateIndex 
116[[#b3d77fc0]]
mergedInitStateIndex