CloneSet1468


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3640.956statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13109
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
23113
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
33760
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
42364
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java
52367
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java
6385
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java
Clone Instance
1
Line Count
3
Source Line
109
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                for (int i = 0; i < fResources.length; i++) {
                        if ( !RefactoringAvailabilityTester.isDeleteAvailable(fResources[i]))
                                return false;
                }


Clone Instance
2
Line Count
3
Source Line
113
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                for (int i = 0; i < fJavaElements.length; i++) {
                        if ( !RefactoringAvailabilityTester.isDeleteAvailable(fJavaElements[i]))
                                return false;
                }


Clone Instance
3
Line Count
3
Source Line
760
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                for (int i = 0; i < topLevelTypes.length; i++) {
                        if ( ! elementSet.contains(topLevelTypes[i]))
                                return false;
                }


Clone Instance
4
Line Count
2
Source Line
364
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java

                        for (int i = 0; i < fResources.length; i++) {
                                if ( ! ReorgUtils.isProject(fResources[i])) return true;
                        }


Clone Instance
5
Line Count
2
Source Line
367
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java

                        for (int i = 0; i < fJavaElements.length; i++) {
                                if ( ! ReorgUtils.isProject(fJavaElements[i])) return true;
                        }


Clone Instance
6
Line Count
3
Source Line
85
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java

                                        for (int i = 0; i < categories.length; i++) {
                                                if ( !fFilteredCategories.contains(categories[i]))
                                                        return true;
                                        }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variableb82e2c40]].length; i++) {
  if ( ! [[#variableb82e2420]]. [[#variable94d5df40]]( [[#variableb82e2c40]][i]))
    return [[#variableb82e2bc0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b82e2c40]]
topLevelTypes 
12[[#b82e2c40]]
fJavaElements 
13[[#b82e2c40]]
fResources 
14[[#b82e2c40]]
categories 
15[[#b82e2c40]]
fJavaElements 
16[[#b82e2c40]]
fResources 
21[[#b82e2420]]
elementSet 
22[[#b82e2420]]
RefactoringAvailabilityTester 
23[[#b82e2420]]
RefactoringAvailabilityTester 
24[[#b82e2420]]
fFilteredCategories 
25[[#b82e2420]]
ReorgUtils 
26[[#b82e2420]]
ReorgUtils 
31[[#94d5df40]]
contains 
32[[#94d5df40]]
isDeleteAvailable 
33[[#94d5df40]]
isDeleteAvailable 
34[[#94d5df40]]
contains 
35[[#94d5df40]]
isProject 
36[[#94d5df40]]
isProject 
41[[#b82e2bc0]]
false 
42[[#b82e2bc0]]
false 
43[[#b82e2bc0]]
false 
44[[#b82e2bc0]]
true 
45[[#b82e2bc0]]
true 
46[[#b82e2bc0]]
true