code: def write_stats (self):
          
          self.writeln(u'<br/><i>%s</i><br/>' % _("Statistics"))
          if self.stats.number > 0:
              self.writeln(_(
                "Content types: %(image)d image, %(text)d text, %(video)d video, "
                "%(audio)d audio, %(application)d application, %(mail)d mail"
                " and %(other)d other.") % self.stats.link_types)
              self.writeln(u"<br/>")
              self.writeln(_("URL lengths: min=%(min)d, max=%(max)d, avg=%(avg)d.") %
                           dict(min=self.stats.min_url_length,
                           max=self.stats.max_url_length,
                           avg=self.stats.avg_url_length))
          else:
              self.writeln(_("No statistics available since no URLs were checked."))
          self.writeln(u"<br/>")
docs: Write check statistic infos.