(self,)
| 25 | |
| 26 | class Counter_quantity(): |
| 27 | def __init__(self,): |
| 28 | self.counter = {'total':{'count': 0, 'rate': [0,0,0],'ratio':[0,0,0]}} |
| 29 | self.error = {'total':{'count': 0, 'rate': 0,'ratio':0}} |
| 30 | def add(self,type_name,rate): |
| 31 | name = 'total' |
| 32 | self.counter[name]['count']+=1 |
nothing calls this directly
no outgoing calls
no test coverage detected