CloneSet1366


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.994statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11093
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
210113
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
Clone Instance
1
Line Count
10
Source Line
93
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java

                final List list = new ArrayList(3);
                IMember[] members = type.getFields();
                for (int index = 0; index < members.length; index++) {
                        if (isPullUpAvailable(members[index]))
                                list.add(members[index]);
                }
                members = type.getMethods();
                for (int index = 0; index < members.length; index++) {
                        if (isPullUpAvailable(members[index]))
                                list.add(members[index]);
                }


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

                final List list = new ArrayList(3);
                IMember[] members = type.getFields();
                for (int index = 0; index < members.length; index++) {
                        if (isPushDownAvailable(members[index]))
                                list.add(members[index]);
                }
                members = type.getMethods();
                for (int index = 0; index < members.length; index++) {
                        if (isPushDownAvailable(members[index]))
                                list.add(members[index]);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

final List list = new ArrayList(3);
IMember[] members = type.getFields();
for (int index = 0; index < members.length; index++) {
  if ( [[#variable56854400]](members[index]))
    list.add(members[index]);
}
members = type.getMethods();
for (int index = 0; index < members.length; index++) {
  if ( [[#variable56854400]](members[index]))
    list.add(members[index]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56854400]]
isPushDownAvailable 
12[[#56854400]]
isPullUpAvailable