| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 3 | 0.951 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 126 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/LocalVariable.java |
| 2 | 2 | 163 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/LocalVariable.java |
| ||||
public ISourceRange getNameRange() {
return new SourceRange(this.nameStart, this.nameEnd - this.nameStart + 1);
}
|
| ||||
/**
* @see ISourceReference
*/
public ISourceRange getSourceRange() {
return new SourceRange(this.declarationSourceStart, this.declarationSourceEnd - this.declarationSourceStart + 1);
}
|
| |||
/**
* @see ISourceReference
*/
public ISourceRange [[#variablebf22ca60]]() {
return new SourceRange(this. [[#variablebf22c9a0]], this. [[#variablebf22c820]] - this. [[#variablebf22c9a0]] + 1);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bf22ca60]] | getNameRange |
| 1 | 2 | [[#bf22ca60]] | getSourceRange |
| 2 | 1 | [[#bf22c9a0]] | nameStart |
| 2 | 2 | [[#bf22c9a0]] | declarationSourceStart |
| 3 | 1 | [[#bf22c820]] | nameEnd |
| 3 | 2 | [[#bf22c820]] | declarationSourceEnd |