Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.983 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 73 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeStyleConfiguration.java |
2 | 6 | 82 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeStyleConfiguration.java |
| ||||
try { int num = Integer.parseInt(thres); if (num == 0) num = 1; rewrite.setOnDemandImportThreshold(num); } catch (NumberFormatException e) { // ignore } |
| ||||
try { int num = Integer.parseInt(thresStatic); if (num == 0) num = 1; rewrite.setStaticOnDemandImportThreshold(num); } catch (NumberFormatException e) { // ignore } |
| |||
try { int num = Integer.parseInt( [[#variable5d8166a0]]); if (num == 0) num = 1; rewrite. [[#variable5d816700]](num); } catch (NumberFormatException e) { // ignore } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d8166a0]] | thresStatic |
1 | 2 | [[#5d8166a0]] | thres |
2 | 1 | [[#5d816700]] | setStaticOnDemandImportThreshold |
2 | 2 | [[#5d816700]] | setOnDemandImportThreshold |