Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.994 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 229 | Bio/Crystal/__init__.py |
2 | 7 | 237 | Bio/Crystal/__init__.py |
| ||||
def __repr__(self): output = "" keys = self.data.keys( ) keys.sort( ) for key in keys: output = output+"""%s : %s """ %(key,self.data[key]) return output |
| ||||
def __str__(self): output = "" keys = self.data.keys( ) keys.sort( ) for key in keys: output = output+"""%s : %s """ %(key,self.data[key]) return output |
| |||
def [[#variable2e09c340]](self): output = "" keys = self.data.keys( ) keys.sort( ) for key in keys: output = output+"""%s : %s """ %(key,self.data[key]) return output |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2e09c340]] | __str__ |
1 | 2 | [[#2e09c340]] | __repr__ |