Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 206 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaSourceLookupUtil.java |
2 | 6 | 638 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaSourceLocator.java |
| ||||
for (int j = 0; j < allRoots.length; j++) { IPackageFragmentRoot root = allRoots[j]; if ( !root.isExternal() && root.getPath().equals(entry.getPath())) { if (isSourceAttachmentEqual(root, entry)) { // use package fragment root return root; } } } |
| ||||
for (int j = 0; j < allRoots.length; j++) { IPackageFragmentRoot root = allRoots[j]; if ( !root.isExternal() && root.getPath().equals(entry.getPath())) { if (isSourceAttachmentEqual(root, entry)) { // use package fragment root return new PackageFragmentRootSourceLocation(root); } } } |
| |||
for (int j = 0; j < allRoots.length; j++) { IPackageFragmentRoot root = allRoots[j]; if ( !root.isExternal() && root.getPath().equals(entry.getPath())) { if (isSourceAttachmentEqual(root, entry)) { // use package fragment root return [[#variable6187bac0]]; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6187bac0]] | root |
1 | 2 | [[#6187bac0]] | new PackageFragmentRootSourceLocation(root) |