Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.980 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 143 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
2 | 5 | 149 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
| ||||
if (isFlag(ADD_DEPRECATED_ANNOTATION)) { buf.append(" @Deprecated\n"); //$NON-NLS-1$ } buf.append(" public void foo() {}\n"); //$NON-NLS-1$ buf.append("}\n"); //$NON-NLS-1$ |
| ||||
if (isFlag(ADD_OVERRIDE_ANNOATION)) { buf.append(" @Override\n"); //$NON-NLS-1$ } buf.append(" public void foo() {}\n"); //$NON-NLS-1$ buf.append("}\n"); //$NON-NLS-1$ |
| |||
if (isFlag( [[#variable58a64bc0]])) { buf.append( [[#variable58b26fc0]]); //$NON-NLS-1$ } buf.append(" public void foo() {}\n"); //$NON-NLS-1$ buf.append("}\n"); //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58a64bc0]] | ADD_DEPRECATED_ANNOTATION |
1 | 2 | [[#58a64bc0]] | ADD_OVERRIDE_ANNOATION |
2 | 1 | [[#58b26fc0]] | " @Deprecated\n" |
2 | 2 | [[#58b26fc0]] | " @Override\n" |