Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 3 | 4 | 0.964 | statement_sequence[9] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 8913 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
2 | 26 | 9090 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
3 | 27 | 9152 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| ||||
pushOnRealBlockStack(0); this.referenceContext = cd; this.compilationUnit = unit; this.scanner.resetTo(cd.bodyStart, cd.bodyEnd); try { parse(); } catch (AbortCompilation ex) { this.lastAct = ERROR_ACTION; } finally { this.nestedMethod[this.nestedType]--; if (this.options.performStatementsRecovery) { this.methodRecoveryActivated = oldMethodRecoveryActivated; } } checkNonNLSAfterBodyEnd(cd.declarationSourceEnd); if (this.lastAct == ERROR_ACTION) { initialize(); return; } //statements cd.explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ]; int length; |
| ||||
pushOnRealBlockStack(0); this.referenceContext = type; this.compilationUnit = unit; this.scanner.resetTo(initializer.bodyStart, initializer.bodyEnd); // just on the beginning { try { parse(); } catch (AbortCompilation ex) { this.lastAct = ERROR_ACTION; } finally { this.nestedMethod[this.nestedType]--; if (this.options.performStatementsRecovery) { this.methodRecoveryActivated = oldMethodRecoveryActivated; } } checkNonNLSAfterBodyEnd(initializer.declarationSourceEnd); if (this.lastAct == ERROR_ACTION) { return; } //refill statements initializer.block.explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ]; int length; |
| ||||
pushOnRealBlockStack(0); this.referenceContext = md; this.compilationUnit = unit; this.scanner.resetTo(md.bodyStart, md.bodyEnd); // reset the scanner to parser from { down to } try { parse(); } catch (AbortCompilation ex) { this.lastAct = ERROR_ACTION; } finally { this.nestedMethod[this.nestedType]--; if (this.options.performStatementsRecovery) { this.methodRecoveryActivated = oldMethodRecoveryActivated; } } checkNonNLSAfterBodyEnd(md.declarationSourceEnd); if (this.lastAct == ERROR_ACTION) { return; } //refill statements md.explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ]; int length; |
| |||
pushOnRealBlockStack(0); this.referenceContext = [[#variablebd2f2300]]; this.compilationUnit = unit; this.scanner.resetTo( [[#variablebd2f2340]].bodyStart, [[#variablebd2f2340]].bodyEnd); // just on the beginning { // reset the scanner to parser from { down to } try { parse(); } catch (AbortCompilation ex) { this.lastAct = ERROR_ACTION; } finally { this.nestedMethod[this.nestedType]--; if (this.options.performStatementsRecovery) { this.methodRecoveryActivated = oldMethodRecoveryActivated; } } checkNonNLSAfterBodyEnd( [[#variablebd2f2340]].declarationSourceEnd); if (this.lastAct == ERROR_ACTION) { [[#variablebd2f22c0]] } [[#variablec1c0be00]].explicitDeclarations = this.realBlockStack[this.realBlockPtr-- ]; int length; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bd2f2300]] | cd |
1 | 2 | [[#bd2f2300]] | type |
1 | 3 | [[#bd2f2300]] | md |
2 | 1 | [[#bd2f2340]] | cd |
2 | 2 | [[#bd2f2340]] | initializer |
2 | 3 | [[#bd2f2340]] | md |
3 | 1 | [[#bd2f22c0]] | initialize(); return; |
3 | 2 | [[#bd2f22c0]] | return; |
3 | 3 | [[#bd2f22c0]] | return; |
4 | 1 | [[#c1c0be00]] | //statements cd |
4 | 2 | [[#c1c0be00]] | //refill statements initializer.block |
4 | 3 | [[#c1c0be00]] | //refill statements md |