CloneSet156


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24220.957stmt_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12437
Bio/PropertyManager.py
21663
Bio/PropertyManager.py
Clone Instance
1
Line Count
24
Source Line
37
Source File
Bio/PropertyManager.py

        try :
            
            return self.class_property[klass][property] 
        except KeyError: 
             pass 

         # Is there a property resolver?
        try :
            
            return self.class_property_resolver[klass][property](self,klass,property) 
        except KeyError: 
             pass 

         # What about the class resolver?
        try :
            
            return self.class_resolver[klass](self,klass,property) 
        except KeyError: 
             pass 

         # That failed, so we walk up the class tree, depth-first and
         # left-to-right (same as Python).  For each class, check if
         # the property exists, then check if the property resolver
         # exists, and finally, check for the class resolver.
        bases = list(klass.__bases__) 


Clone Instance
2
Line Count
16
Source Line
63
Source File
Bio/PropertyManager.py

            try :
                
                return self.class_property[base][property] 
            except KeyError: 
                 pass 
            try :
                
                return self.class_property_resolver[base][property](self,klass,property) 
            except KeyError: 
                 pass 
            try :
                
                return self.class_resolver[base](self,klass,property) 
            except KeyError: 
                 pass 

             # this is why the search is depth-first/right-left
            bases[ :0] = list(base.__bases__) 


Clone AbstractionParameter Count: 2Parameter Bindings

try :
  return self.class_property[ [[#variable2e7eb340]]][property] 
except KeyError:
  pass 
  # Is there a property resolver?
try :
  return self.class_property_resolver[ [[#variable2e7eb340]]][property](self,klass,property) 
except KeyError:
  pass 
  # What about the class resolver?
try :
  return self.class_resolver[ [[#variable2e7eb340]]](self,klass,property) 
except KeyError:
  pass 
  # That failed, so we walk up the class tree, depth-first and
  # left-to-right (same as Python).  For each class, check if
  # the property exists, then check if the property resolver
  # exists, and finally, check for the class resolver.
  # this is why the search is depth-first/right-left
 [[#variable5f06d640]]= list( [[#variable2e7eb340]].__bases__) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2e7eb340]]
klass 
12[[#2e7eb340]]
base 
21[[#5f06d640]]
bases 
22[[#5f06d640]]
bases[ :0]