Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 339 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/javadoc/JavaDocLocations.java |
2 | 5 | 70 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareAction.java |
3 | 5 | 189 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java |
| ||||
byte[] bytes; try { bytes = string.getBytes("UTF-8"); //$NON-NLS-1$ } catch (UnsupportedEncodingException e) { bytes = string.getBytes(); } |
| ||||
byte[] bytes; try { bytes = fContents.getBytes("UTF-16"); //$NON-NLS-1$ } catch (UnsupportedEncodingException e) { bytes = fContents.getBytes(); } |
| ||||
byte[] bytes; try { bytes = string.getBytes("UTF-8"); //$NON-NLS-1$ } catch (UnsupportedEncodingException e) { bytes = string.getBytes(); } |
| |||
byte[] bytes; try { bytes = [[#variablea150b640]].getBytes( [[#variablea150b520]]); //$NON-NLS-1$ } catch (UnsupportedEncodingException e) { bytes = [[#variablea150b640]].getBytes(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a150b640]] | string |
1 | 2 | [[#a150b640]] | fContents |
1 | 3 | [[#a150b640]] | string |
2 | 1 | [[#a150b520]] | "UTF-8" |
2 | 2 | [[#a150b520]] | "UTF-16" |
2 | 3 | [[#a150b520]] | "UTF-8" |