Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.977 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 133 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java |
2 | 7 | 150 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/VariablesEvaluator.java |
| ||||
// Initialize the compiler's lookup environment with the already compiled super classes IBinaryType binary = this.context.getRootCodeSnippetBinary(); if (binary != null) { compiler.lookupEnvironment.cacheBinaryType(binary, null /*no access restriction*/ ); } VariablesInfo installedVars = this.context.installedVars; |
| ||||
// Initialize the compiler's lookup environment with the already compiled super class IBinaryType binaryType = this.context.getRootCodeSnippetBinary(); if (binaryType != null) { compiler.lookupEnvironment.cacheBinaryType(binaryType, null /*no access restriction*/ ); } // and the installed global variable classes VariablesInfo installedVars = this.context.installedVars; |
| |||
// Initialize the compiler's lookup environment with the already compiled super classes // Initialize the compiler's lookup environment with the already compiled super class IBinaryType [[#variablea0b53140]]= this.context.getRootCodeSnippetBinary(); if ( [[#variablea0b53140]]!= null) { compiler.lookupEnvironment.cacheBinaryType( [[#variablea0b53140]], null /*no access restriction*/ ); } // and the installed global variable classes VariablesInfo installedVars = this.context.installedVars; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0b53140]] | binary |
1 | 2 | [[#a0b53140]] | binaryType |