Added some code to peer into a data structure in Maemian/Schedule.pm. Also added the
[maemian] / nokia-lintian / reporting / templates / tags.tmpl
1 { head("Lintian Tags") }
2   <h1>Tags</h1>
3
4   <p>
5     This is a list of all tags that occur at least once in the archive
6     with their frequency counts.  This includes all tags, even
7     experimental and info tags.
8   </p>
9
10   <ul>
11 {
12     for my $tag (sort keys %tags) {
13         my ($count, $overrides) = (0, 0);
14         my %seen;
15         for my $info (@{ $tags{$tag} }) {
16             if ($info->{code} eq 'O') {
17                 $overrides++;
18             } else {
19                 $count++;
20                 $seen{$info->{xref}}++;
21             }
22         }
23         my $packages = scalar keys %seen;
24         $OUT .= qq(    <li><a href="tags/$tag.html">$tag</a>)
25             . " ($packages packages, $count tags, plus $overrides overrides)"
26             . "</li>\n";
27     }
28 }  </ul>
29 { foot() }