| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.959 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 757 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java |
| 2 | 4 | 772 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java |
| ||||
if (projPath.isPrefixOf(path)) {
path = path.removeFirstSegments(projPath.segmentCount());
}
IFolder folder = project.getFolder(path);
|
| ||||
if (projPath.isPrefixOf(orginalPath)) {
orginalPath = orginalPath.removeFirstSegments(projPath.segmentCount());
}
IFolder orginalFolder = project.getFolder(orginalPath);
|
| |||
if (projPath.isPrefixOf( [[#variable655a6920]])) {
[[#variable655a6920]]= [[#variable655a6920]].removeFirstSegments(projPath.segmentCount());
}
IFolder [[#variable655a6900]]= project.getFolder( [[#variable655a6920]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#655a6920]] | orginalPath |
| 1 | 2 | [[#655a6920]] | path |
| 2 | 1 | [[#655a6900]] | orginalFolder |
| 2 | 2 | [[#655a6900]] | folder |