Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.951 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 831 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
2 | 8 | 890 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
| ||||
{ List result = new ArrayList(fMemberInfos.length); for (int index = 0; index < fMemberInfos.length; index++) { MemberActionInfo info = fMemberInfos[index]; if (info.isNewMethodToBeDeclaredAbstract()) result.add(info); } return (MemberActionInfo[]) result.toArray(new MemberActionInfo[result.size()]); } |
| ||||
{ List result = new ArrayList(fMemberInfos.length); for (int i = 0; i < fMemberInfos.length; i++) { MemberActionInfo info = fMemberInfos[i]; if (info.isToBeDeletedFromDeclaringClass()) result.add(info.getMember()); } return (IMember[]) result.toArray(new IMember[result.size()]); } |
| |||
{ List result = new ArrayList(fMemberInfos.length); for (int [[#variable9a16a020]]= 0; [[#variable9a16a020]] < fMemberInfos.length; [[#variable9a16a020]]++) { MemberActionInfo info = fMemberInfos[ [[#variable9a16a020]]]; if (info. [[#variable990e5fe0]]()) result.add( [[#variable99431360]]); } return ( [[#variable990e5fc0]][]) result.toArray(new [[#variable990e5fc0]][result.size()]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9a16a020]] | index |
1 | 2 | [[#9a16a020]] | i |
2 | 1 | [[#990e5fe0]] | isNewMethodToBeDeclaredAbstract |
2 | 2 | [[#990e5fe0]] | isToBeDeletedFromDeclaringClass |
3 | 1 | [[#99431360]] | info |
3 | 2 | [[#99431360]] | info.getMember() |
4 | 1 | [[#990e5fc0]] | MemberActionInfo |
4 | 2 | [[#990e5fc0]] | IMember |