Module::CPANTS::Analyse - Generate Kwalitee ratings for a distribution
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;
my $analyser = Module::CPANTS::Analyse->new({dist => 'path/to/file'});
Plain old constructor.
Unpack the distribution into a temporary directory.
Returns an error if something went wrong, undef if all went well.
undef
Run all analysers (defined in Module::CPANTS::Kwalitee::* on the dist.
Module::CPANTS::Kwalitee::*
Check if the dist conforms to the Kwalitee indicators.
Unpacks, analyses, and calculates kwalitee, and returns a resulting stash.
Returns the path to the unique temp directory.
Returns the location of the unextracted tarball.
Returns the filename of the tarball.
Returns a hash reference that holds normalized information set in the "x_cpants" custom META field.
https://cpants.cpanauthors.org/
Please report any bugs or feature requests, or send any patches, to bug-module-cpants-analyse at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-CPANTS-Analyse. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-module-cpants-analyse at rt.cpan.org
Thomas Klausner
Please use the perl-qa mailing list for discussing all things CPANTS: https://lists.perl.org/list/perl-qa.html
perl-qa
Based on work by Léon Brocard and the original idea proposed by Michael G. Schwern.
This code is Copyright © 2003–2006 Thomas Klausner. All rights reserved.
You may use and distribute this module according to the same terms that Perl is distributed under.
To install Module::CPANTS::Analyse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::CPANTS::Analyse
CPAN shell
perl -MCPAN -e shell install Module::CPANTS::Analyse
For more information on module installation, please visit the detailed CPAN module installation guide.