Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 26 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BranchStatement.java |
2 | 12 | 41 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldDeclaration.java |
| ||||
/** * BranchStatement constructor comment. */ public BranchStatement(char[] label, int sourceStart, int sourceEnd) { this.label = label; this.sourceStart = sourceStart; this.sourceEnd = sourceEnd; } |
| ||||
public FieldDeclaration( char[] name, int sourceStart, int sourceEnd ) { this.name = name; //due to some declaration like // int x, y = 3, z , x ; //the sourceStart and the sourceEnd is ONLY on the name this.sourceStart = sourceStart; this.sourceEnd = sourceEnd; } |
| |||
/** * BranchStatement constructor comment. */ public [[#variable5858c760]](char[] [[#variable5858c700]], int sourceStart, int sourceEnd) { this. [[#variable5858c700]]= [[#variable5858c700]]; //due to some declaration like // int x, y = 3, z , x ; //the sourceStart and the sourceEnd is ONLY on the name this.sourceStart = sourceStart; this.sourceEnd = sourceEnd; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5858c760]] | FieldDeclaration |
1 | 2 | [[#5858c760]] | BranchStatement |
2 | 1 | [[#5858c700]] | name |
2 | 2 | [[#5858c700]] | label |