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.979 | stmt_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 41 | Bio/KDTree/KDTree.py |
2 | 6 | 48 | Bio/KDTree/KDTree.py |
| ||||
neighbors = kdt.neighbor_search(radius) r = [neighbor.radius for neighbor in neighbors] if r is None: l1 = 0 else: l1 = len(r) # now do a slow search to compare results |
| ||||
neighbors = kdt.neighbor_simple_search(radius) r = [neighbor.radius for neighbor in neighbors] if r is None: l2 = 0 else: l2 = len(r) |
| |||
neighbors = kdt. [[#variable754115a0]](radius) r = [neighbor.radius for neighbor in neighbors] if r is None: [[#variable76ca1ea0]]= 0 else: [[#variable76ca1ea0]]= len(r) # now do a slow search to compare results |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#754115a0]] | neighbor_simple_search |
1 | 2 | [[#754115a0]] | neighbor_search |
2 | 1 | [[#76ca1ea0]] | l2 |
2 | 2 | [[#76ca1ea0]] | l1 |