You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/01/25 05:49:12 UTC
[Bug 2965] New: hit-frequencies -x headers are wrong
http://bugzilla.spamassassin.org/show_bug.cgi?id=2965
Summary: hit-frequencies -x headers are wrong
Product: Spamassassin
Version: 2.63
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P5
Component: Masses
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: Bob@Menschel.net
When using the command "hit-frequencies -x", the column headers are missing
a "RANK" column header. Example: First header is from "-x", Second header is
from "-x -p"
OVERALL SPAM HAM S/O SCORE NAME
91714 74113 17601 0.808 0.00 0.00 (all messages)
7431 7429 2 0.999 1.00 3.00 RM_bpt_longwords68a
6596 6595 1 0.999 0.98 1.00 RM_bpt_longwords69a
OVERALL% SPAM% HAM% S/O RANK SCORE NAME
91714 74113 17601 0.808 0.00 0.00 (all messages)
100.000 80.8088 19.1912 0.808 0.00 0.00 (all messages as %)
8.102 10.0239 0.0114 0.999 1.00 3.00 RM_bpt_longwords68a
7.192 8.8986 0.0057 0.999 0.98 1.00 RM_bpt_longwords69a
Code involved:
} elsif ($opt_x) {
printf "%7s %7s %7s %6s %6s %s\n",
"OVERALL", "SPAM", "HAM", "S/O", "SCORE", "NAME";
printf "%7d %7d %7d %7.3f %6.2f %6.2f (all messages)\n",
2nd and 3rd line should instead be something like:
printf "%7s %7s %7s %6s %6s %6s %s\n",
"OVERALL", "SPAM", "HAM", "S/O", "RANK", "SCORE", "NAME";
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.