CloneSet233


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.995compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112117
Bio/SCOP/Cla.py
212116
Bio/SCOP/Raf.py
Clone Instance
1
Line Count
12
Source Line
117
Source File
Bio/SCOP/Cla.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 


Clone Instance
2
Line Count
12
Source Line
116
Source File
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 = SeqMap(line) 
        finally: 
             f.close( ) 
        return record 


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#753d95c0]]
Record 
12[[#753d95c0]]
SeqMap