| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 4 | 2 | 0.975 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 2008 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 2 | 4 | 3641 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 3 | 3 | 4239 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 4 | 3 | 4272 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| ||||
// ClassHeaderImplements ::= 'implements' InterfaceTypeList
int length = this.astLengthStack[this.astLengthPtr-- ];
//super interfaces
this.astPtr -= length;
// There is a class declaration on the top of stack
TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
|
| ||||
// InterfaceHeaderExtends ::= 'extends' InterfaceTypeList
int length = this.astLengthStack[this.astLengthPtr-- ];
//super interfaces
this.astPtr -= length;
TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
|
| ||||
// MethodHeaderParameters ::= FormalParameterListopt ')'
int length = this.astLengthStack[this.astLengthPtr-- ];
this.astPtr -= length;
AbstractMethodDeclaration md = (AbstractMethodDeclaration) this.astStack[this.astPtr];
|
| ||||
// MethodHeaderThrowsClause ::= 'throws' ClassTypeList
int length = this.astLengthStack[this.astLengthPtr-- ];
this.astPtr -= length;
AbstractMethodDeclaration md = (AbstractMethodDeclaration) this.astStack[this.astPtr];
|
| |||
// MethodHeaderThrowsClause ::= 'throws' ClassTypeList // InterfaceHeaderExtends ::= 'extends' InterfaceTypeList // MethodHeaderParameters ::= FormalParameterListopt ')' // ClassHeaderImplements ::= 'implements' InterfaceTypeList int length = this.astLengthStack[this.astLengthPtr-- ]; //super interfaces this.astPtr -= length; [[#variable9df5e420]] [[#variable9df5e480]]= ( [[#variable9df5e420]]) this.astStack[this.astPtr]; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9df5e420]] | AbstractMethodDeclaration |
| 1 | 2 | [[#9df5e420]] | TypeDeclaration |
| 1 | 3 | [[#9df5e420]] | AbstractMethodDeclaration |
| 1 | 4 | [[#9df5e420]] | // There is a class declaration on the top of stack TypeDeclaration |
| 2 | 1 | [[#9df5e480]] | md |
| 2 | 2 | [[#9df5e480]] | typeDecl |
| 2 | 3 | [[#9df5e480]] | md |
| 2 | 4 | [[#9df5e480]] | typeDecl |