parameters: (self, category)
docstring: Bumps the module's error statistic.
docstring_summary: Bumps the module's error statistic.
docstring_tokens: Bumps the module s error statistic .
function: def IncrementErrorCount(self, category):
      """Bumps the module's error statistic."""
      self.error_count += 1
      if self.counting in ('toplevel', 'detailed'):
        if self.counting != 'detailed':
          category = category.split('/')[0]
        if category not in self.errors_by_category:
          self.errors_by_category[category] = 0
        self.errors_by_category[category] += 1
function_tokens: def IncrementErrorCount ( self , category ) : self . error_count += 1 if self . counting in ( 'toplevel' , 'detailed' ) : if self . counting != 'detailed' : category = category . split ( '/' ) [ 0 ] if category not in self . errors_by_category : self . errors_by_category [ category ] = 0 self . errors_by_category [ category ] += 1