| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 1 | 0.960 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 211 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java |
| 2 | 4 | 179 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java |
| ||||
{
IResource res = workspaceRoot.findMember(outputLocation);
if (res instanceof IContainer && BuildPathsBlock.hasClassfiles(res)) {
BuildPathsBlock.removeOldClassfiles(res);
}
}
|
| ||||
{
IResource res = workspaceRoot.findMember(project.getOutputLocation());
if (res instanceof IContainer && BuildPathsBlock.hasClassfiles(res)) {
BuildPathsBlock.removeOldClassfiles(res);
}
}
|
| |||
{
IResource res = workspaceRoot.findMember( [[#variable8f5efaa0]]);
if (res instanceof IContainer && BuildPathsBlock.hasClassfiles(res)) {
BuildPathsBlock.removeOldClassfiles(res);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#8f5efaa0]] | project.getOutputLocation() |
| 1 | 2 | [[#8f5efaa0]] | outputLocation |