Mailing List Archive

svn commit: r329048 - /spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
Author: jm
Date: Thu Oct 27 19:38:06 2005
New Revision: 329048

URL: http://svn.apache.org/viewcvs?rev=329048&view=rev
Log:
'over_time' reads a little better than 'ruleshit' ;)

Modified:
spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi

Modified: spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi?rev=329048&r1=329047&r2=329048&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi (original)
+++ spamassassin/trunk/masses/rule-qa/automc/ruleqa.cgi Thu Oct 27 19:38:06 2005
@@ -88,8 +88,8 @@
my $rule = $q->url_param('rule') || '';

$s{graph} = $q->url_param('s_graph') || '';
-if ($s{graph} eq 'ruleshit') {
- graph_ruleshit();
+if ($s{graph} eq 'over_time') {
+ graph_over_time();
die "oops! should not get here"; # prev method should exit
}

@@ -304,12 +304,12 @@
show_all_sets_for_daterev($daterev, $daterev);

if ($s{detail}) {
- my $url_rh = gen_switch_url("s_graph", "ruleshit");
+ my $url_rh = gen_switch_url("s_graph", "over_time");
print qq{

<h3 class=graph_title>graphs</h3>
<ul>
- <li><a href="$url_rh">rules hit over time</a></li>
+ <li><a href="$url_rh">Graph rule's hit-rate over time</a></li>
</ul>

};
@@ -399,7 +399,7 @@

###########################################################################

-sub graph_ruleshit {
+sub graph_over_time {
$datadir = $conf{html}."/".$daterev."/";

# logs are named e.g.