The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CPAN::Testers::WWW::Statistics - CPAN Testers Statistics website.

DESCRIPTION

CPAN Testers Statistics comprises the actual website pages, a CGI tool to find testers, and some backend code to help map tester address to a real identity.

INTERFACE

The Constructor

  • new

    Statistics creation object. Provides all the configuration and logging functionality, as well the interface to the lower level functionality for Page and Graph creation.

    new() takes an option hash as an argument, which may contain the following keys.

    config    => path to configuration file [required]
    
    directory => path to output directory
    mainstore => path/format to data storage files
    templates => path to templates directory
    address   => path to address file
    mailrc    => path to 01mailrc.txt file
    builder   => path to output file from builder log parser
    
    logfile   => path to logfile
    logclean  => will overwrite any existing logfile if set

    Note that while 'directory', 'templates' and 'address' are optional as parameters, if they are not provided as parameters, then they MUST be specified within the 'MASTER' section of the configuration file.

Public Methods

  • leaderboard

    Maintain the leaderboard table as requested.

  • make_pages

    Method to manage the data update and creation of all the statistics web pages.

    Note that this method incorporate all of the method functionality of update, make_basics, make_matrix and make_stats.

  • update

    Method to manage the data update only.

  • make_basics

    Method to manage the creation of the basic statistics web pages.

  • make_matrix

    Method to manage the creation of the matrix style statistics web pages.

  • make_stats

    Method to manage the creation of the tabular style statistics web pages.

  • make_cpan

    Method to manage the creation of the CPAN specific statistics files and web pages.

  • make_leaders

    Method to manage the creation of the OS leaderboard web pages.

  • make_noreports

    Method to manage the creation of the no reports pages.

  • make_performance

    Method to manage the creation/update of the builder performance data file.

  • make_graphs

    Method to manage the creation of all the statistics graphs.

  • storage

    Method to return specific JSON data currently stored.

  • ranges

    Returns the specific date range array reference, as held in the configuration file.

  • osname

    Returns the print form of a recorded OS name.

  • tester

    Returns either the known name of the tester for the given email address, or returns a doctored version of the address for displaying in HTML.

  • tester_lookup

    Returns the name or email address, if found, of the stored profile or address for the given addressid and testerid.

  • tester_loader

    Look up the number of know addresses and testers in the database.

CPAN TESTERS FUND

CPAN Testers wouldn't exist without the help and support of the Perl community. However, since 2008 CPAN Testers has grown far beyond the expectations of it's original creators. As a consequence it now requires considerable funding to help support the infrastructure.

In early 2012 the Enlightened Perl Organisation very kindly set-up a CPAN Testers Fund within their donatation structure, to help the project cover the costs of servers and services.

If you would like to donate to the CPAN Testers Fund, please follow the link below to the Enlightened Perl Organisation's donation site.

https://members.enlightenedperl.org/drupal/donate-cpan-testers

If your company would like to support us, you can donate financially via the fund link above, or if you have servers or services that we might use, please send an email to admin@cpantesters.org with details.

Our full list of current sponsors can be found at our I <3 CPAN Testers site.

http://iheart.cpantesters.org

BUGS, PATCHES & FIXES

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).

Fixes are dependent upon their severity and my availability. Should a fix not be forthcoming, please feel free to (politely) remind me.

RT Queue - http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-WWW-Statistics

SEE ALSO

CPAN::Testers::Data::Generator, CPAN::Testers::WWW::Reports

http://www.cpantesters.org/, http://stats.cpantesters.org/, http://wiki.cpantesters.org/

AUTHOR

Barbie, <barbie@cpan.org>
for Miss Barbell Productions <http://www.missbarbell.co.uk>.

COPYRIGHT AND LICENSE

Copyright (C) 2005-2017 Barbie for Miss Barbell Productions.

This distribution is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.