Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.975 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 715 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
2 | 8 | 724 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java |
| ||||
{ RecoveredField recoveredField = (RecoveredField) currentElement; if (recoveredField.fieldDeclaration.type.dimensions() == 0) { Block block = new Block(0); block.sourceStart = info; currentElement = currentElement.add(block, 1); } else { statement = arrayInitializer; } } |
| ||||
{ RecoveredLocalVariable recoveredLocalVariable = (RecoveredLocalVariable) currentElement; if (recoveredLocalVariable.localDeclaration.type.dimensions() == 0) { Block block = new Block(0); block.sourceStart = info; currentElement = currentElement.add(block, 1); } else { statement = arrayInitializer; } } |
| |||
{ [[#variable4e22d180]] [[#variable4e22d100]]= ( [[#variable4e22d180]]) currentElement; if ( [[#variable4e22d100]]. [[#variable4e22d080]].type.dimensions() == 0) { Block block = new Block(0); block.sourceStart = info; currentElement = currentElement.add(block, 1); } else { statement = arrayInitializer; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e22d180]] | RecoveredLocalVariable |
1 | 2 | [[#4e22d180]] | RecoveredField |
2 | 1 | [[#4e22d100]] | recoveredLocalVariable |
2 | 2 | [[#4e22d100]] | recoveredField |
3 | 1 | [[#4e22d080]] | localDeclaration |
3 | 2 | [[#4e22d080]] | fieldDeclaration |