Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.977 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 81 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java |
2 | 9 | 97 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java |
| ||||
if (Resources.isReadOnly(packResource)) return true; Object[] nonJava = pack.getNonJavaResources(); for (int i = 0; i < nonJava.length; i++) { Object object = nonJava[i]; if (object instanceof IResource && hasReadOnlyResourcesAndSubResources((IResource) object)) return true; } return hasReadOnlyResourcesAndSubResources(pack.getChildren()); |
| ||||
if (Resources.isReadOnly(pfrResource)) return true; Object[] nonJava1 = root.getNonJavaResources(); for (int i = 0; i < nonJava1.length; i++) { Object object = nonJava1[i]; if (object instanceof IResource && hasReadOnlyResourcesAndSubResources((IResource) object)) return true; } return hasReadOnlyResourcesAndSubResources(root.getChildren()); |
| |||
if (Resources.isReadOnly( [[#variablea431a000]])) return true; Object[] [[#variable9a184fa0]]= [[#variable9a185360]].getNonJavaResources(); for (int i = 0; i < [[#variable9a184fa0]].length; i++) { Object object = [[#variable9a184fa0]][i]; if (object instanceof IResource && hasReadOnlyResourcesAndSubResources((IResource) object)) return true; } return hasReadOnlyResourcesAndSubResources( [[#variable9a185360]].getChildren()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a431a000]] | pfrResource |
1 | 2 | [[#a431a000]] | packResource |
2 | 1 | [[#9a184fa0]] | nonJava1 |
2 | 2 | [[#9a184fa0]] | nonJava |
3 | 1 | [[#9a185360]] | root |
3 | 2 | [[#9a185360]] | pack |