Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.964 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 1567 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
2 | 5 | 199 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java |
| ||||
for (int i = 0; i < roots.length; i++) { if (ReorgUtils.isParentInWorkspaceOrOnDisk(roots[i], javaProject)) return true; } return false; |
| ||||
for (int i = 0; i < fMembers.length; i++) { if (Bindings.equals(fMembers[i], binding)) return true; } return false; |
| |||
for (int i = 0; i < [[#variablea154b500]].length; i++) { if ( [[#variablea154b420]]. [[#variablea154ab00]]( [[#variablea154b500]][i], [[#variablea154b3c0]])) return true; } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a154b500]] | fMembers |
1 | 2 | [[#a154b500]] | roots |
2 | 1 | [[#a154b420]] | Bindings |
2 | 2 | [[#a154b420]] | ReorgUtils |
3 | 1 | [[#a154ab00]] | equals |
3 | 2 | [[#a154ab00]] | isParentInWorkspaceOrOnDisk |
4 | 1 | [[#a154b3c0]] | binding |
4 | 2 | [[#a154b3c0]] | javaProject |