Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.957 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 252 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java |
2 | 5 | 283 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java |
| ||||
HashSet writtenNames = new HashSet(); WrittenNamesFinder finder = new WrittenNamesFinder(writtenNames); compilationUnit.accept(finder); List ops = new ArrayList(); VariableDeclarationFinder visitor = new VariableDeclarationFinder(true, true, true, compilationUnit, ops, writtenNames); |
| ||||
HashSet writtenNames = new HashSet(); WrittenNamesFinder finder = new WrittenNamesFinder(writtenNames); compilationUnit.accept(finder); List operations = new ArrayList(); VariableDeclarationFinder visitor = new VariableDeclarationFinder(addFinalFields, addFinalParameters, addFinalLocals, compilationUnit, operations, writtenNames); |
| |||
HashSet writtenNames = new HashSet(); WrittenNamesFinder finder = new WrittenNamesFinder(writtenNames); compilationUnit.accept(finder); List [[#variable94abf820]]= new ArrayList(); VariableDeclarationFinder visitor = new VariableDeclarationFinder( [[#variable94abefa0]], [[#variable94abf740]], [[#variable94abf840]], compilationUnit, [[#variable94abf820]], writtenNames); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94abf820]] | operations |
1 | 2 | [[#94abf820]] | ops |
2 | 1 | [[#94abefa0]] | addFinalFields |
2 | 2 | [[#94abefa0]] | true |
3 | 1 | [[#94abf740]] | addFinalParameters |
3 | 2 | [[#94abf740]] | true |
4 | 1 | [[#94abf840]] | addFinalLocals |
4 | 2 | [[#94abf840]] | true |