Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 3 | 0.971 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 175 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java |
2 | 6 | 614 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
3 | 6 | 55 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceReferenceUtil.java |
4 | 6 | 192 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java |
| ||||
while (parent != null) { if (parent.equals(superElement)) return true; parent = parent.getParent(); } return false; |
| ||||
while (parent != null) { if (elements.contains(parent)) return true; parent = parent.getParent(); } return false; |
| ||||
while (parent != null) { if (set.contains(parent)) return true; parent = parent.getParent(); } return false; |
| ||||
while (parent != null) { if (candidates.contains(parent)) return true; parent = parent.getParent(); } return false; |
| |||
while (parent != null) { if ( [[#variablea0692760]]. [[#variableb9fe4440]]( [[#variablea06926a0]])) return true; parent = parent.getParent(); } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0692760]] | parent |
1 | 2 | [[#a0692760]] | elements |
1 | 3 | [[#a0692760]] | set |
1 | 4 | [[#a0692760]] | candidates |
2 | 1 | [[#b9fe4440]] | equals |
2 | 2 | [[#b9fe4440]] | contains |
2 | 3 | [[#b9fe4440]] | contains |
2 | 4 | [[#b9fe4440]] | contains |
3 | 1 | [[#a06926a0]] | superElement |
3 | 2 | [[#a06926a0]] | parent |
3 | 3 | [[#a06926a0]] | parent |
3 | 4 | [[#a06926a0]] | parent |