code: function renderTemplate(type) {
      var lcType = lodash.lowerCase(type);
      if (lodash.size(stats[lcType])) {
        return statsTemplate({
          title: '### ' + type,
          items: output(lcType)
        });
      } else {
        return '';
      }
    }
docs: render template for severity
  @param {string} type severity
  @returns {string} template