CloneSet1841


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6420.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16371
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java
261643
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
361602
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java
461695
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java
Clone Instance
1
Line Count
6
Source Line
371
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java

                if (left <= right) {
                        CategorizedProblem tmp = problemList[left];
                        problemList[left] = problemList[right];
                        problemList[right] = tmp;
                        left++;
                        right--;
                }


Clone Instance
2
Line Count
6
Source Line
1643
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java

                if (left <= right) {
                        ASTNode tmp = sortedCollection[left];
                        sortedCollection[left] = sortedCollection[right];
                        sortedCollection[right] = tmp;
                        left++;
                        right--;
                }


Clone Instance
3
Line Count
6
Source Line
1602
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java

                        if (left <= right) {
                                Object tmp = sortedCollection[left];
                                sortedCollection[left] = sortedCollection[right];
                                sortedCollection[right] = tmp;
                                left++;
                                right--;
                        }


Clone Instance
4
Line Count
6
Source Line
1695
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java

                        if (left <= right) {
                                String tmp = sortedCollection[left];
                                sortedCollection[left] = sortedCollection[right];
                                sortedCollection[right] = tmp;
                                left++;
                                right--;
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (left <= right) {
   [[#variableb4b57d40]] tmp = [[#variableb4b57fe0]][left];
   [[#variableb4b57fe0]][left] = [[#variableb4b57fe0]][right];
   [[#variableb4b57fe0]][right] = tmp;
  left++;
  right--;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4b57d40]]
String 
12[[#b4b57d40]]
CategorizedProblem 
13[[#b4b57d40]]
Object 
14[[#b4b57d40]]
ASTNode 
21[[#b4b57fe0]]
sortedCollection 
22[[#b4b57fe0]]
problemList 
23[[#b4b57fe0]]
sortedCollection 
24[[#b4b57fe0]]
sortedCollection