Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.988 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 254 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameModifications.java |
2 | 7 | 197 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java |
| ||||
String prefix = pack.getElementName() + '.'; for (int i = 0; i < allPackages.length; i++) { IPackageFragment currentPackage = (IPackageFragment) allPackages[i]; if (currentPackage.getElementName().startsWith(prefix)) result.add(currentPackage); } return (IPackageFragment[]) result.toArray(new IPackageFragment[result.size()]); |
| ||||
String prefix = pack.getElementName() + '.'; for (int i = 0; i < allPackages.length; i++) { IPackageFragment currentPackage = (IPackageFragment) allPackages[i]; if (currentPackage.getElementName().startsWith(prefix)) subpackages.add(currentPackage); } return (IPackageFragment[]) subpackages.toArray(new IPackageFragment[subpackages.size()]); |
| |||
String prefix = pack.getElementName() + '.'; for (int i = 0; i < allPackages.length; i++) { IPackageFragment currentPackage = (IPackageFragment) allPackages[i]; if (currentPackage.getElementName().startsWith(prefix)) [[#variable99022e80]].add(currentPackage); } return (IPackageFragment[]) [[#variable99022e80]].toArray(new IPackageFragment[ [[#variable99022e80]].size()]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99022e80]] | result |
1 | 2 | [[#99022e80]] | subpackages |