{ head("Lintian Tags") }
  <h1>Tags</h1>

  <p>
    This is a list of all tags known to Lintian even the ones
    not emitted.
  </p>

  <ul>
{
    for my $tag (sort $profile->tags (1)) {
        my $text;
        if ($stats{$tag}) {
            my $packages = $stats{$tag}{'packages'};
            my $count = $stats{$tag}{'count'};
            my $overrides = $stats{$tag}{'overrides'};
            $text = "$packages packages, $count tags"
                . ($overrides > 0 ? ", plus $overrides overrides" : "");
        } else {
            $text = 'Not emitted';
        }
        $OUT .= qq(    <li><a href="tags/$tag.html">$tag</a>)
            . " ($text)"
            . "</li>\n";
    }
}  </ul>
{ foot() }
