Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 253 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java |
2 | 5 | 182 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageFragmentProvider.java |
| ||||
for (int i = 0; i < elements.length; i++) { IJavaElement iJavaElement = elements[i]; //if the name of the PackageFragment is the top level package it will contain no "." separators if (iJavaElement instanceof IPackageFragment && iJavaElement.getElementName().indexOf('.') == -1) { topLevelElements.add(iJavaElement); } } |
| ||||
for (int i = 0; i < elements.length; i++) { IJavaElement iJavaElement = elements[i]; //if the name of the PackageFragment is the top level package it will contain no "." separators if (iJavaElement instanceof IPackageFragment && iJavaElement.getElementName().indexOf('.') == -1) { topLevelElements.add(iJavaElement); } } |
| |||
for (int i = 0; i < elements.length; i++) { IJavaElement iJavaElement = elements[i]; //if the name of the PackageFragment is the top level package it will contain no "." separators if (iJavaElement instanceof IPackageFragment && iJavaElement.getElementName().indexOf('.') == -1) { topLevelElements.add(iJavaElement); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |