Add "Path Length" back to the table of bug reports.

llvm-svn: 56765
This commit is contained in:
Ted Kremenek 2008-09-28 04:13:09 +00:00
parent e18f94c20d
commit 7dbc92a269
1 changed files with 5 additions and 3 deletions

View File

@ -388,7 +388,8 @@ sub ScanFile {
$BugCategory = "Other";
}
push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine ];
push @$Index,[ $FName, $BugCategory, $BugDesc, $BugFile, $BugLine,
$BugPathLength ];
}
##----------------------------------------------------------------------------##
@ -575,6 +576,7 @@ print OUT <<ENDTEXT;
<td class="sorttable_sorted">Bug Type<span id="sorttable_sortfwdind">&nbsp;&#x25BE;</span></td>
<td>File</td>
<td class="Q">Line</td>
<td class="Q">Path Length</td>
<td class="sorttable_nosort"></td>
<!-- REPORTBUGCOL -->
</tr></thead>
@ -631,12 +633,12 @@ ENDTEXT
print OUT "</td>";
# Print out the quantities.
for my $j ( 4 .. 4 ) {
for my $j ( 4 .. 5 ) {
print OUT "<td class=\"Q\">$row->[$j]</td>";
}
# Print the rest of the columns.
for (my $j = 5; $j <= $#{$row}; ++$j) {
for (my $j = 6; $j <= $#{$row}; ++$j) {
print OUT "<td>$row->[$j]</td>"
}