CPAN-Testers-WWW-Statistics
view release on metacpan or search on metacpan
- switch to using phrasebook patterns.
- added more legitimate 3/4 character gTLDs.
- added new test script, 30setdates.t.
- added new nreports functionality.
- added sorttable.js - (c) Stuart Langridge.
- better date testing.
1.01 2012-12-23
- change file dates changed to meet W3CDTF standards.
- provide skips if Google Chart API returns an error.
- fixed labelling on percentage tables.
- removed prototypes for alarm_handler.
1.00 2012-07-01
- moved _tester_name() into parent as tester().
- added Leaderboard management module.
- updated POD
- updated/new scripts:
- bin/cpanstats-writegraphs (v0.52)
- bin/cpanstats-writepages (v0.52)
- bin/cpanstats-leaderboard (v0.01)
- updated interesting stats page, removing references to posts to the
cpan-testers mailing list, now listing only report counts, and hiding
the ID link to actual report.
0.75 2009-12-09
- fixed skip test counts.
- added eval over get request in the event of timeout.
0.74 2009-11-26
- merged fixes from Alex Chorny (thanks Alex).
- added new percentage graph, at the suggestion of Slave J. Nilsen
0.73 2009-11-01
- further reorganisation to avoid losing DB connection
- fix to allow for counts that are set before main stats build.
- added header/total cells to left and bottom parts of all matrices.
0.72 2009-10-26
- moved DB process for submission rates earlier to avoid losing DB
connection.
- added a new stats matrix for distributions
- added click thru lists of distributions for the new matrix
- revamped the navigation
0.22 2007-03-23
- added more email => name translations
- added more general domains to ignore when mapping in address.pl
0.21 2007-03-12
- further changes to the Failure Counts page, to allow for more fields
and the ability to order by count or percentage.
0.20 2007-03-10
- added missing template (wdists.html) to MANIFEST
0.19 2007-03-10
- added more email => name translations
- added the selectstats.pl script to help get quick results back from
the DB
- added the Failure Counts feature, following a suggestion from Adam
Kennedy. Note that it does not ignore duplicate reports
lib/CPAN/Testers/WWW/Statistics/Graphs.pm view on Meta::CPAN
}
}
$max = _set_max($max);
my $range = _set_range(0,$max);
my (@d,@c);
my @colours = @COLOURS;
for my $inx (1 .. $#data) {
push @c, shift @colours;
# data needs to be expressed as a percentage of the max
for(@{$data[$inx]}) {
#print "pcent = $_ / $max * 100 = ";
$_ = $_ / $max * 100;
#print "$_ = ";
$_ = int($_ * 1) / 1;
#print "$_\n";
}
push @d, join(',',@{$data[$inx]});
}
lib/CPAN/Testers/WWW/Statistics/Pages.pm view on Meta::CPAN
my $pcent = sprintf "%3.2f%%", $worst{$dist}->{pcent};
push @{$tvars{WORST}}, [$count++, $worst{$dist}->{fail}, $dist, $worst{$dist}->{post}, $worst{$dist}->{pass}, $worst{$dist}->{total}, $pcent, $worst{$dist}->{dist}];
last if($count > 100);
}
$self->_writepage('wdists',\%tvars);
undef %tvars;
$self->{parent}->_log("building failure pecentages");
# calculate worst failure rates - by percentage
$count = 1;
for my $dist (sort {$worst{$b}->{pcent} <=> $worst{$a}->{pcent} || $worst{$b}->{fail} <=> $worst{$a}->{fail}} keys %worst) {
last unless($worst{$dist}->{fail});
my $pcent = sprintf "%3.2f%%", $worst{$dist}->{pcent};
push @{$tvars{WORST}}, [$count++, $worst{$dist}->{fail}, $dist, $worst{$dist}->{post}, $worst{$dist}->{pass}, $worst{$dist}->{total}, $pcent, $worst{$dist}->{dist}];
last if($count > 100);
}
$self->_writepage('wpcent',\%tvars);
undef %tvars;
lib/CPAN/Testers/WWW/Statistics/Pages.pm view on Meta::CPAN
my $pcent = sprintf "%3.2f%%", $worst{$dist}->{pcent};
push @{$tvars{WORST}}, [$count++, $worst{$dist}->{fail}, $dist, $worst{$dist}->{post}, $worst{$dist}->{pass}, $worst{$dist}->{total}, $pcent, $worst{$dist}->{dist}];
last if($count > 100);
}
$self->_writepage('wdists-recent',\%tvars);
undef %tvars;
$self->{parent}->_log("building failure pecentages");
# calculate worst failure rates - by percentage
$count = 1;
for my $dist (sort {$worst{$b}->{pcent} <=> $worst{$a}->{pcent} || $worst{$b}->{fail} <=> $worst{$a}->{fail}} keys %worst) {
last unless($worst{$dist}->{fail});
my $pcent = sprintf "%3.2f%%", $worst{$dist}->{pcent};
push @{$tvars{WORST}}, [$count++, $worst{$dist}->{fail}, $dist, $worst{$dist}->{post}, $worst{$dist}->{pass}, $worst{$dist}->{total}, $pcent, $worst{$dist}->{dist}];
last if($count > 100);
}
$self->_writepage('wpcent-recent',\%tvars);
}
( run in 0.346 second using v1.01-cache-2.11-cpan-624ce96ca49 )