CloneSet516


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4640.963statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14132
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
24141
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
34151
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
44161
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
54171
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
64177
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
Clone Instance
1
Line Count
4
Source Line
132
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java

                                for (Iterator iter = types.iterator(); iter.hasNext();) {
                                        AbstractTypeDeclaration typeDeclaration = (AbstractTypeDeclaration) iter.next();
                                        typeDeclaration.setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer(typeDeclaration.getStartPosition()));
                                        compilationUnit.setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed(typeDeclaration)));
                                }


Clone Instance
2
Line Count
4
Source Line
141
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java

                                for (Iterator iter = bodyDeclarations.iterator(); iter.hasNext();) {
                                        BodyDeclaration bodyDeclaration = (BodyDeclaration) iter.next();
                                        bodyDeclaration.setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer(bodyDeclaration.getStartPosition()));
                                        annotationTypeDeclaration.setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed(bodyDeclaration)));
                                }


Clone Instance
3
Line Count
4
Source Line
151
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java

                                for (Iterator iter = bodyDeclarations.iterator(); iter.hasNext();) {
                                        BodyDeclaration bodyDeclaration = (BodyDeclaration) iter.next();
                                        bodyDeclaration.setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer(bodyDeclaration.getStartPosition()));
                                        anonymousClassDeclaration.setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed(bodyDeclaration)));
                                }


Clone Instance
4
Line Count
4
Source Line
161
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java

                                for (Iterator iter = bodyDeclarations.iterator(); iter.hasNext();) {
                                        BodyDeclaration bodyDeclaration = (BodyDeclaration) iter.next();
                                        bodyDeclaration.setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer(bodyDeclaration.getStartPosition()));
                                        typeDeclaration.setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed(bodyDeclaration)));
                                }


Clone Instance
5
Line Count
4
Source Line
171
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java

                                for (Iterator iter = bodyDeclarations.iterator(); iter.hasNext();) {
                                        BodyDeclaration bodyDeclaration = (BodyDeclaration) iter.next();
                                        bodyDeclaration.setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer(bodyDeclaration.getStartPosition()));
                                        enumDeclaration.setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed(bodyDeclaration)));
                                }


Clone Instance
6
Line Count
4
Source Line
177
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java

                                for (Iterator iter = enumConstants.iterator(); iter.hasNext();) {
                                        EnumConstantDeclaration enumConstantDeclaration = (EnumConstantDeclaration) iter.next();
                                        enumConstantDeclaration.setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer(enumConstantDeclaration.getStartPosition()));
                                        enumDeclaration.setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed(enumConstantDeclaration)));
                                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (Iterator iter = [[#variablea53961a0]].iterator(); iter.hasNext();) {
   [[#variablea5396120]]  [[#variableba973e60]]= ( [[#variablea5396120]]) iter.next();
   [[#variableba973e60]].setProperty(CompilationUnitSorter.RELATIVE_ORDER, new Integer( [[#variableba973e60]].getStartPosition()));
   [[#variablea53961c0]].setProperty(CONTAINS_MALFORMED_NODES, Boolean.valueOf(isMalformed( [[#variableba973e60]])));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a53961a0]]
enumConstants 
12[[#a53961a0]]
bodyDeclarations 
13[[#a53961a0]]
bodyDeclarations 
14[[#a53961a0]]
bodyDeclarations 
15[[#a53961a0]]
bodyDeclarations 
16[[#a53961a0]]
types 
21[[#a5396120]]
EnumConstantDeclaration 
22[[#a5396120]]
BodyDeclaration 
23[[#a5396120]]
BodyDeclaration 
24[[#a5396120]]
BodyDeclaration 
25[[#a5396120]]
BodyDeclaration 
26[[#a5396120]]
AbstractTypeDeclaration 
31[[#ba973e60]]
enumConstantDeclaration 
32[[#ba973e60]]
bodyDeclaration 
33[[#ba973e60]]
bodyDeclaration 
34[[#ba973e60]]
bodyDeclaration 
35[[#ba973e60]]
bodyDeclaration 
36[[#ba973e60]]
typeDeclaration 
41[[#a53961c0]]
enumDeclaration 
42[[#a53961c0]]
enumDeclaration 
43[[#a53961c0]]
typeDeclaration 
44[[#a53961c0]]
anonymousClassDeclaration 
45[[#a53961c0]]
annotationTypeDeclaration 
46[[#a53961c0]]
compilationUnit