Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.995 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 117 | Bio/SCOP/Cla.py |
2 | 12 | 116 | Bio/SCOP/Raf.py |
| ||||
def __getitem__(self,key): " Return an item from the indexed file. " position = dict.__getitem__(self,key) f = open(self.filename) try : f.seek(position) line = f.readline( ) record = Record(line) finally: f.close( ) return record |
| ||||
def __getitem__(self,key): " Return an item from the indexed file. " position = dict.__getitem__(self,key) f = open(self.filename) try : f.seek(position) line = f.readline( ) record = SeqMap(line) finally: f.close( ) return record |
| |||
def __getitem__(self,key): " Return an item from the indexed file. " position = dict.__getitem__(self,key) f = open(self.filename) try : f.seek(position) line = f.readline( ) record = [[#variable753d95c0]](line) finally: f.close( ) return record |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#753d95c0]] | Record |
1 | 2 | [[#753d95c0]] | SeqMap |