| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 3 | 0.983 | compound_stmt |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 319 | Bio/SwissProt/__init__.py |
| 2 | 8 | 358 | Bio/SwissProt/__init__.py |
| ||||
if "CREATED" in uprline:
record.created = date,version
elif "LAST SEQUENCE UPDATE" in uprline:
record.sequence_update = date,version
elif "LAST ANNOTATION UPDATE" in uprline:
record.annotation_update = date,version
else:
assert False,"Shouldn't reach this line!"
|
| ||||
# Re-use the historical property names, even though
# the meaning has changed slighty:
if "INTEGRATED" in uprline:
record.created = date,version
elif "SEQUENCE VERSION" in uprline:
record.sequence_update = date,version
elif "ENTRY VERSION" in uprline:
record.annotation_update = date,version
else:
assert False,"Shouldn't reach this line!"
|
| |||
# Re-use the historical property names, even though # the meaning has changed slighty: if [[#variable78aedba0]]in uprline: record.created = date,version elif [[#variable78aedbe0]]in uprline: record.sequence_update = date,version elif [[#variable78aedb80]]in uprline: record.annotation_update = date,version else: assert False,"Shouldn't reach this line!" |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#78aedba0]] | "CREATED" |
| 1 | 2 | [[#78aedba0]] | "INTEGRATED" |
| 2 | 1 | [[#78aedbe0]] | "LAST SEQUENCE UPDATE" |
| 2 | 2 | [[#78aedbe0]] | "SEQUENCE VERSION" |
| 3 | 1 | [[#78aedb80]] | "LAST ANNOTATION UPDATE" |
| 3 | 2 | [[#78aedb80]] | "ENTRY VERSION" |