| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 4 | 4 | 0.950 | switch_groups[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 82 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java |
| 2 | 7 | 88 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java |
| 3 | 6 | 95 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java |
| 4 | 6 | 101 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java |
| ||||
case '\r':
tokenBuffer.append("\\r"); //$NON-NLS-1$
break;
case '\n':
tokenBuffer.append("\\n"); //$NON-NLS-1$
break;
|
| ||||
case '\b':
tokenBuffer.append("\\b"); //$NON-NLS-1$
break;
case '\t':
// keep tabs verbatim
tokenBuffer.append("\t"); //$NON-NLS-1$
break;
|
| ||||
case '\f':
tokenBuffer.append("\\f"); //$NON-NLS-1$
break;
case '\"':
tokenBuffer.append("\\\""); //$NON-NLS-1$
break;
|
| ||||
case '\'':
tokenBuffer.append("\\\'"); //$NON-NLS-1$
break;
case '\\':
tokenBuffer.append("\\\\"); //$NON-NLS-1$
break;
|
| |||
case [[#variable6474c380]]: tokenBuffer.append( [[#variable6474c300]]); //$NON-NLS-1$ break; case [[#variable6474c220]]: // keep tabs verbatim tokenBuffer.append( [[#variable6474c260]]); //$NON-NLS-1$ break; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6474c380]] | '\r' |
| 1 | 2 | [[#6474c380]] | '\b' |
| 1 | 3 | [[#6474c380]] | '\f' |
| 1 | 4 | [[#6474c380]] | '\'' |
| 2 | 1 | [[#6474c300]] | "\\r" |
| 2 | 2 | [[#6474c300]] | "\\b" |
| 2 | 3 | [[#6474c300]] | "\\f" |
| 2 | 4 | [[#6474c300]] | "\\\'" |
| 3 | 1 | [[#6474c220]] | '\n' |
| 3 | 2 | [[#6474c220]] | '\t' |
| 3 | 3 | [[#6474c220]] | '\"' |
| 3 | 4 | [[#6474c220]] | '\\' |
| 4 | 1 | [[#6474c260]] | "\\n" |
| 4 | 2 | [[#6474c260]] | "\t" |
| 4 | 3 | [[#6474c260]] | "\\\"" |
| 4 | 4 | [[#6474c260]] | "\\\\" |