Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.975 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 99 | Doc/examples/getgene.py |
2 | 7 | 140 | Doc/examples/getgene.py |
| ||||
for line in string.split(entry,""" """ ): if line[0:5]=="OS ": OS = string.strip(line[5: ]) if OS[ -1]==".":OS = OS[0: -1] return OS if line[0:2]=="//": break return OS |
| ||||
for line in string.split(entry,""" """ ): if line[0:5]=="GN ": GN = string.strip(line[5: ]) if GN[ -1]==".":GN = GN[0: -1] return GN if line[0:2]=="//": break return GN |
| |||
for line in string.split(entry,""" """ ): if line[0:5]== [[#variable2e7b48a0]]: [[#variable5d243d80]]= string.strip(line[5: ]) if [[#variable5d243d80]][ -1]==".": [[#variable5d243d80]]= [[#variable5d243d80]][0: -1] return [[#variable5d243d80]] if line[0:2]=="//": break return [[#variable5d243d80]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2e7b48a0]] | "GN " |
1 | 2 | [[#2e7b48a0]] | "OS " |
2 | 1 | [[#5d243d80]] | GN |
2 | 2 | [[#5d243d80]] | OS |