Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.984 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 171 | Bio/Crystal/__init__.py |
2 | 6 | 178 | Bio/Crystal/__init__.py |
| ||||
def count(self,item): try : self.validate_element(item) except TypeError: item = Hetero(item.lower( )) return self.data.count(item) |
| ||||
def index(self,item): try : self.validate_element(item) except TypeError: item = Hetero(item.lower( )) return self.data.index(item) |
| |||
def [[#variable17616ce0]](self,item): try : self.validate_element(item) except TypeError: item = Hetero(item.lower( )) return self.data. [[#variable17616ce0]](item) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17616ce0]] | index |
1 | 2 | [[#17616ce0]] | count |