Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.973 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1924 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 6 | 1948 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| ||||
{ MultiFieldDeclaration multiField = (MultiFieldDeclaration) member; if (multiField.isStatic()) { format(multiField, this, typeDeclaration.staticInitializerScope, isChunkStart, i == 0); } else { format(multiField, this, typeDeclaration.initializerScope, isChunkStart, i == 0); } } |
| ||||
{ FieldDeclaration field = (FieldDeclaration) member; if (field.isStatic()) { format(field, this, typeDeclaration.staticInitializerScope, isChunkStart, i == 0); } else { format(field, this, typeDeclaration.initializerScope, isChunkStart, i == 0); } } |
| |||
{ [[#variableb3ac22a0]] [[#variableb3ac2320]]= ( [[#variableb3ac22a0]]) member; if ( [[#variableb3ac2320]].isStatic()) { format( [[#variableb3ac2320]], this, typeDeclaration.staticInitializerScope, isChunkStart, i == 0); } else { format( [[#variableb3ac2320]], this, typeDeclaration.initializerScope, isChunkStart, i == 0); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3ac22a0]] | FieldDeclaration |
1 | 2 | [[#b3ac22a0]] | MultiFieldDeclaration |
2 | 1 | [[#b3ac2320]] | field |
2 | 2 | [[#b3ac2320]] | multiField |