| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 6 | 2 | 0.973 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 238 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ToggleBreakpointAdapter.java |
| 2 | 2 | 46 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaNativeStackTraceHyperlink.java |
| 3 | 2 | 208 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTraceHyperlink.java |
| 4 | 2 | 277 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTEvaluationEngine.java |
| 5 | 2 | 175 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaDebugUtils.java |
| 6 | 3 | 61 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/PackageFragmentRootSourceContainer.java |
| ||||
if (index >= 0) {
typeName = typeName.substring(0, index);
}
|
| ||||
if (index >= 0) {
typeName = typeName.substring(0, index);
}
|
| ||||
if (index >= 0) {
numText = numText.substring(0, index);
}
|
| ||||
// if the argument is an inner type, compile in context of outer type so type is visible
if (index >= 0) {
recTypeName = typeName.substring(0, index);
}
|
| ||||
if (index >= 0) {
qualifiedTypeName = qualifiedTypeName.substring(0, index);
}
|
| ||||
if (index >= 0) {
// remove file type suffix
typeName = typeName.substring(0, index);
}
|
| |||
// if the argument is an inner type, compile in context of outer type so type is visible
if (index >= 0) {
[[#variable4e23f140]]= [[#variable4e23f0c0]].substring(0, index);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4e23f140]] | typeName |
| 1 | 2 | [[#4e23f140]] | recTypeName |
| 1 | 3 | [[#4e23f140]] | qualifiedTypeName |
| 1 | 4 | [[#4e23f140]] | numText |
| 1 | 5 | [[#4e23f140]] | typeName |
| 1 | 6 | [[#4e23f140]] | // remove file type suffix typeName |
| 2 | 1 | [[#4e23f0c0]] | typeName |
| 2 | 2 | [[#4e23f0c0]] | typeName |
| 2 | 3 | [[#4e23f0c0]] | qualifiedTypeName |
| 2 | 4 | [[#4e23f0c0]] | numText |
| 2 | 5 | [[#4e23f0c0]] | typeName |
| 2 | 6 | [[#4e23f0c0]] | typeName |