| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.970 | compound_stmt |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 93 | Bio/Prosite/Pattern.py |
| 2 | 3 | 96 | Bio/Prosite/Pattern.py |
| ||||
if s[ -2: ]=="$]":
i = s.rindex("[")
s = s[ :i]+"(?:"+s[i: -2]+"]|$)"
|
| ||||
if s[ -3: ]=="$]$":
i = s.rindex("[")
s = s[ :i]+"(?:"+s[i: -3]+"]|$)$"
# Watch out for unescaped < and > terms
|
| |||
if s[ - [[#variable60137f80]]: ]== [[#variable5f04ee40]]:
i = s.rindex("[")
s = s[ :i]+"(?:"+s[i: - [[#variable60137f80]]]+ [[#variable5f04eec0]]
# Watch out for unescaped < and > terms
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#60137f80]] | 3 |
| 1 | 2 | [[#60137f80]] | 2 |
| 2 | 1 | [[#5f04ee40]] | "$]$" |
| 2 | 2 | [[#5f04ee40]] | "$]" |
| 3 | 1 | [[#5f04eec0]] | "]|$)$" |
| 3 | 2 | [[#5f04eec0]] | "]|$)" |