Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.969 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 252 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java |
2 | 6 | 274 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java |
| ||||
if (s1 == null) s1 = "null"; //$NON-NLS-1$ if (s2 == null) s2 = "null"; //$NON-NLS-1$ int l1 = s1.length(); int l2 = s2.length(); char[] buf = new char[l1 + 1 + l2]; s1.getChars(0, l1, buf, 0); |
| ||||
if (s1 == null) s1 = "null"; //$NON-NLS-1$ if (s2 == null) s2 = "null"; //$NON-NLS-1$ int l1 = s1.length(); int l2 = s2.length(); char[] buf = new char[l1 + l2]; s1.getChars(0, l1, buf, 0); |
| |||
if (s1 == null) s1 = "null"; //$NON-NLS-1$ if (s2 == null) s2 = "null"; //$NON-NLS-1$ int l1 = s1.length(); int l2 = s2.length(); char[] buf = new char[ [[#variable9510bac0]] + l2]; s1.getChars(0, l1, buf, 0); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9510bac0]] | l1 + 1 |
1 | 2 | [[#9510bac0]] | l1 |