CloneSet120


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.964block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110112
Doc/examples/getgene.py
210197
Doc/examples/getgene.py
Clone Instance
1
Line Count
10
Source Line
112
Source File
Doc/examples/getgene.py

        entry = self.Get(id) 
        if not entry: return None 
        OC = "" 
        for line in string.split(entry,"""
"""                             ):            
            if line[0:5]=="OC   ":  
                OC = OC+string.strip(line[5: ]) 
                if OC[ -1]==".":OC = OC[0: -1] 
            if line[0:2]=="//":  break 
        return OC 


Clone Instance
2
Line Count
10
Source Line
197
Source File
Doc/examples/getgene.py

        entry = self.Get(id) 
        if not entry: return "" 
        XX = "" 
        for line in string.split(entry,"""
"""                             ):            
            if line[0:5]=="%s   "%xx:    
                XX = XX+string.strip(line[5: ]) 
                if XX[ -1]==".":XX = XX[0: -1] 
            if line[0:2]=="//":  break 
        return XX 


Clone AbstractionParameter Count: 3Parameter Bindings

  entry = self.Get(id) 
  if not entry: return [[#variable4f4b43a0]]
   [[#variable4f4b40e0]]= "" 
  for line in string.split(entry,"""
"""                       ):
  
    if line[0:5]== [[#variable4f4b53e0]]:
    
       [[#variable4f4b40e0]]= [[#variable4f4b40e0]]+string.strip(line[5: ]) 
      if [[#variable4f4b40e0]][ -1]==".": [[#variable4f4b40e0]]= [[#variable4f4b40e0]][0: -1] 
    if line[0:2]=="//": break 
  return [[#variable4f4b40e0]]
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4f4b43a0]]
None 
12[[#4f4b43a0]]
"" 
21[[#4f4b40e0]]
OC 
22[[#4f4b40e0]]
XX 
31[[#4f4b53e0]]
"OC   " 
32[[#4f4b53e0]]
"%s   "%xx