Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
51 | 3 | 2 | 0.972 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 51 | 317 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CharacterLiteral.java |
2 | 51 | 274 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/StringLiteral.java |
3 | 51 | 166 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
| ||||
switch (value) { case '\b': b.append("\\b"); //$NON-NLS-1$ break; case '\t': b.append("\\t"); //$NON-NLS-1$ break; case '\n': b.append("\\n"); //$NON-NLS-1$ break; case '\f': b.append("\\f"); //$NON-NLS-1$ break; case '\r': b.append("\\r"); //$NON-NLS-1$ break; case '\"': b.append("\\\""); //$NON-NLS-1$ break; case '\'': b.append("\\\'"); //$NON-NLS-1$ break; case '\\': b.append("\\\\"); //$NON-NLS-1$ break; case '\u0000': b.append("\\0"); //$NON-NLS-1$ break; case '\u0001': b.append("\\1"); //$NON-NLS-1$ break; case '\u0002': b.append("\\2"); //$NON-NLS-1$ break; case '\u0003': b.append("\\3"); //$NON-NLS-1$ break; case '\u0004': b.append("\\4"); //$NON-NLS-1$ break; case '\u0005': b.append("\\5"); //$NON-NLS-1$ break; case '\u0006': b.append("\\6"); //$NON-NLS-1$ break; case '\u0007': b.append("\\7"); //$NON-NLS-1$ break; default: b.append(value); } |
| ||||
switch (c) { case '\b': b.append("\\b"); //$NON-NLS-1$ break; case '\t': b.append("\\t"); //$NON-NLS-1$ break; case '\n': b.append("\\n"); //$NON-NLS-1$ break; case '\f': b.append("\\f"); //$NON-NLS-1$ break; case '\r': b.append("\\r"); //$NON-NLS-1$ break; case '\"': b.append("\\\""); //$NON-NLS-1$ break; case '\'': b.append("\\\'"); //$NON-NLS-1$ break; case '\\': b.append("\\\\"); //$NON-NLS-1$ break; case '\u0000': b.append("\\0"); //$NON-NLS-1$ break; case '\u0001': b.append("\\1"); //$NON-NLS-1$ break; case '\u0002': b.append("\\2"); //$NON-NLS-1$ break; case '\u0003': b.append("\\3"); //$NON-NLS-1$ break; case '\u0004': b.append("\\4"); //$NON-NLS-1$ break; case '\u0005': b.append("\\5"); //$NON-NLS-1$ break; case '\u0006': b.append("\\6"); //$NON-NLS-1$ break; case '\u0007': b.append("\\7"); //$NON-NLS-1$ break; default: b.append(c); } |
| ||||
switch (c) { case '\b': buffer.append("\\b"); //$NON-NLS-1$ break; case '\t': buffer.append("\\t"); //$NON-NLS-1$ break; case '\n': buffer.append("\\n"); //$NON-NLS-1$ break; case '\f': buffer.append("\\f"); //$NON-NLS-1$ break; case '\r': buffer.append("\\r"); //$NON-NLS-1$ break; case '\"': buffer.append("\\\""); //$NON-NLS-1$ break; case '\'': buffer.append("\\\'"); //$NON-NLS-1$ break; case '\\': buffer.append("\\\\"); //$NON-NLS-1$ break; case '\u0000': buffer.append("\\0"); //$NON-NLS-1$ break; case '\u0001': buffer.append("\\1"); //$NON-NLS-1$ break; case '\u0002': buffer.append("\\2"); //$NON-NLS-1$ break; case '\u0003': buffer.append("\\3"); //$NON-NLS-1$ break; case '\u0004': buffer.append("\\4"); //$NON-NLS-1$ break; case '\u0005': buffer.append("\\5"); //$NON-NLS-1$ break; case '\u0006': buffer.append("\\6"); //$NON-NLS-1$ break; case '\u0007': buffer.append("\\7"); //$NON-NLS-1$ break; default: buffer.append(c); } |
| |||
switch ( [[#variableb3b35fe0]]) { case '\b': [[#variableb3b35e40]].append("\\b"); //$NON-NLS-1$ break; case '\t': [[#variableb3b35e40]].append("\\t"); //$NON-NLS-1$ break; case '\n': [[#variableb3b35e40]].append("\\n"); //$NON-NLS-1$ break; case '\f': [[#variableb3b35e40]].append("\\f"); //$NON-NLS-1$ break; case '\r': [[#variableb3b35e40]].append("\\r"); //$NON-NLS-1$ break; case '\"': [[#variableb3b35e40]].append("\\\""); //$NON-NLS-1$ break; case '\'': [[#variableb3b35e40]].append("\\\'"); //$NON-NLS-1$ break; case '\\': [[#variableb3b35e40]].append("\\\\"); //$NON-NLS-1$ break; case '\u0000': [[#variableb3b35e40]].append("\\0"); //$NON-NLS-1$ break; case '\u0001': [[#variableb3b35e40]].append("\\1"); //$NON-NLS-1$ break; case '\u0002': [[#variableb3b35e40]].append("\\2"); //$NON-NLS-1$ break; case '\u0003': [[#variableb3b35e40]].append("\\3"); //$NON-NLS-1$ break; case '\u0004': [[#variableb3b35e40]].append("\\4"); //$NON-NLS-1$ break; case '\u0005': [[#variableb3b35e40]].append("\\5"); //$NON-NLS-1$ break; case '\u0006': [[#variableb3b35e40]].append("\\6"); //$NON-NLS-1$ break; case '\u0007': [[#variableb3b35e40]].append("\\7"); //$NON-NLS-1$ break; default: [[#variableb3b35e40]].append( [[#variableb3b35fe0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3b35fe0]] | c |
1 | 2 | [[#b3b35fe0]] | c |
1 | 3 | [[#b3b35fe0]] | value |
2 | 1 | [[#b3b35e40]] | b |
2 | 2 | [[#b3b35e40]] | buffer |
2 | 3 | [[#b3b35e40]] | b |