Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.994 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 93 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java |
2 | 10 | 113 | 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]); } |
| ||||
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]); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56854400]] | isPushDownAvailable |
1 | 2 | [[#56854400]] | isPullUpAvailable |