Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.974 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 46 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java |
2 | 3 | 382 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredBlock.java |
| ||||
/* do not consider a nested block starting passed the block end (if set) it must be belonging to an enclosing block */ if (this.blockDeclaration.sourceEnd != 0 && nestedBlockDeclaration.sourceStart > this.blockDeclaration.sourceEnd) { return this.parent.add(nestedBlockDeclaration, bracketBalanceValue); } |
| ||||
/* do not consider a local variable starting passed the block end (if set) it must be belonging to an enclosing block */ if (this.blockDeclaration.sourceEnd != 0 && fieldDeclaration.declarationSourceStart > this.blockDeclaration.sourceEnd) { return this.parent.add(fieldDeclaration, bracketBalanceValue); } |
| |||
/* do not consider a local variable starting passed the block end (if set) it must be belonging to an enclosing block */ /* do not consider a nested block starting passed the block end (if set) it must be belonging to an enclosing block */ if (this.blockDeclaration.sourceEnd != 0 && [[#variable5fcd1ee0]]. [[#variable5fcd1e60]] > this.blockDeclaration.sourceEnd) { return this.parent.add( [[#variable5fcd1ee0]], bracketBalanceValue); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fcd1ee0]] | fieldDeclaration |
1 | 2 | [[#5fcd1ee0]] | nestedBlockDeclaration |
2 | 1 | [[#5fcd1e60]] | declarationSourceStart |
2 | 2 | [[#5fcd1e60]] | sourceStart |