Module::CPANTS::Analyse3pm
Generate kwalitee ratings for a distribution
Usage
use Module::CPANTS::Analyse;my $analyser = Module::CPANTS::Analyse->new({dist => 'path/to/Foo-Bar-1.42.tgz',});$analyser->run;# results are in $analyser->d;
Overview
Methods
new
my $analyser = Module::CPANTS::Analyse->new({dist => 'path/to/file'});
Plain old constructor.
unpack
Unpack the distribution into a temporary directory.
Returns an error if something went wrong, "undef" if all went well.
analyse
Run all analysers (defined in "Module::CPANTS::Kwalitee::*" on the dist.
calc_kwalitee
Check if the dist conforms to the Kwalitee indicators.
run
Unpacks, analyses, and calculates kwalitee, and returns a resulting stash.
Helper Methods
testdir
Returns the path to the unique temp directory.
testfile
Returns the location of the unextracted tarball.
tarball
Returns the filename of the tarball.
x_opts
Returns a hash reference that holds normalized information set in the "x_cpants" custom META field.
Website
<https://cpants.cpanauthors.org/>
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 6 times.