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.972 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 115 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java |
2 | 8 | 2162 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
if ( !fAccessorPackage.isDefaultPackage()) { buf.append("package ").append(fAccessorPackage.getElementName()).append(';'); //$NON-NLS-1$ } buf.append(lineDelim).append(lineDelim); if (typeComment != null) { buf.append(typeComment).append(lineDelim); } buf.append(classContent); |
| ||||
if ( !pack.isDefaultPackage()) { buf.append("package ").append(pack.getElementName()).append(';'); //$NON-NLS-1$ } buf.append(lineDelimiter).append(lineDelimiter); if (typeComment != null) { buf.append(typeComment).append(lineDelimiter); } buf.append(typeContent); |
| |||
if ( ! [[#variable54863640]].isDefaultPackage()) { buf.append("package ").append( [[#variable54863640]].getElementName()).append(';'); //$NON-NLS-1$ } buf.append( [[#variable54863620]]).append( [[#variable54863620]]); if (typeComment != null) { buf.append(typeComment).append( [[#variable54863620]]); } buf.append( [[#variable54863600]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54863640]] | pack |
1 | 2 | [[#54863640]] | fAccessorPackage |
2 | 1 | [[#54863620]] | lineDelimiter |
2 | 2 | [[#54863620]] | lineDelim |
3 | 1 | [[#54863600]] | typeContent |
3 | 2 | [[#54863600]] | classContent |