Group
Extension

Matches 3

CPAN-Testers-WWW-Statistics ( B/BA/BARBIE/CPAN-Testers-WWW-Statistics-1.23.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Statistics/lib/CPAN/Testers/WWW/Statistics.pm ( view source; MetaCPAN )
$self->mainstore( _defined_or( $hash{mainstore},  $cfg->val('MASTER','mainstore' ), 'cpanstats-%s.json' ));
    $self->templates( _defined_or( $hash{templates},  $cfg->val('MASTER','templates' ) ));
 
 to manage the creation of all the statistics graphs.

=item * storage

Method to return specific JSON data currently stored.

=cut

__PACKAGE__->mk_accessors(
    qw( directory mainstore templates ad
CPAN-Testers-WWW-Statistics ( B/BA/BARBIE/CPAN-Testers-WWW-Statistics-1.23.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Statistics/lib/CPAN/Testers/WWW/Statistics/Leaderboard.pm ( view source; MetaCPAN )
d by the Pages module to create the leaderboard pages.

Previously this information was held in a JSON file, but maintaining accurate
data has been problematic.

Note that this package should not be c
CPAN-Testers-WWW-Statistics ( B/BA/BARBIE/CPAN-Testers-WWW-Statistics-1.23.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Statistics/lib/CPAN/Testers/WWW/Statistics/Pages.pm ( view source; MetaCPAN )
:Basename;
use File::Copy;
use File::Path;
use File::Slurp;
use HTML::Entities;
use IO::File;
use JSON;
use Sort::Versions;
use Template;
#use Time::HiRes qw ( time );
use Time::Piece;
use Try::Tiny;
item * update_full

Full update of data and pages.

=item * update_data

Update data and store in JSON format.

=item * build_basics

Create the basic set of pages,those require no statistical calcula
  return  unless(-f $storage);
        my $data = read_file($storage);
        my $store = decode_json($data);
        return $store->{$type};
    }

#    for $type (qw(stats dists fails perls pass pl

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.