| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 5 | 3 | 0.957 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 763 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java |
| 2 | 3 | 942 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java |
| 3 | 3 | 69 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/PackageFragmentRootSourceContainer.java |
| 4 | 3 | 84 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java |
| 5 | 3 | 124 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java |
| ||||
{
packageName = name.substring(0, index);
className = name.substring(index + 1);
}
|
| ||||
{
typeName = remaining.substring(0, index);
remaining = remaining.substring(index + 1);
}
|
| ||||
{
packageName = typeName.substring(0, index);
typeName = typeName.substring(index + 1);
}
|
| ||||
{
file = rest.substring(0, index);
extension = rest.substring(index + 1);
}
|
| ||||
{
file = rest.substring(0, index);
extension = rest.substring(index + 1);
}
|
| |||
{
[[#variable5923bb40]]= [[#variable5923bae0]].substring(0, index);
[[#variable5923b9e0]]= [[#variable5923bae0]].substring(index + 1);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5923bb40]] | file |
| 1 | 2 | [[#5923bb40]] | typeName |
| 1 | 3 | [[#5923bb40]] | packageName |
| 1 | 4 | [[#5923bb40]] | packageName |
| 1 | 5 | [[#5923bb40]] | file |
| 2 | 1 | [[#5923bae0]] | rest |
| 2 | 2 | [[#5923bae0]] | remaining |
| 2 | 3 | [[#5923bae0]] | typeName |
| 2 | 4 | [[#5923bae0]] | name |
| 2 | 5 | [[#5923bae0]] | rest |
| 3 | 1 | [[#5923b9e0]] | extension |
| 3 | 2 | [[#5923b9e0]] | remaining |
| 3 | 3 | [[#5923b9e0]] | typeName |
| 3 | 4 | [[#5923b9e0]] | className |
| 3 | 5 | [[#5923b9e0]] | extension |