Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.977 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 526 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java |
2 | 12 | 556 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java |
| ||||
{ char ch = indent.charAt(i); switch (ch) { case '\t': if (tabSize > 0) { int reminder = length % tabSize; length += tabSize - reminder; } break; case ' ': length++; break; } } |
| ||||
{ char ch = reference.charAt(i); switch (ch) { case '\t': if (tabSize > 0) { int reminder = measured % tabSize; measured += tabSize - reminder; } break; case ' ': measured++; break; } } |
| |||
{ char ch = [[#variable99b2bf80]].charAt(i); switch (ch) { case '\t': if (tabSize > 0) { int reminder = [[#variable99b2bfe0]] % tabSize; [[#variable99b2bfe0]]+= tabSize - reminder; } break; case ' ': [[#variable99b2bfe0]]++; break; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99b2bf80]] | reference |
1 | 2 | [[#99b2bf80]] | indent |
2 | 1 | [[#99b2bfe0]] | measured |
2 | 2 | [[#99b2bfe0]] | length |