NAME
Module::CPANTS::Analyse - Generate Kwalitee ratings for a distribution
SYNOPSIS
my $analyser=Module::CPANTS::Analyse(
{
dist=>'path/to/Foo-Bar-1.42.tgz',
}
);
$a->unpack;
$a->analyse;
$a->calc_kwalitee;
# results are in $a->d;
DESCRIPTION
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.
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.
WEBSITE
http://cpants.perl.org/
BUGS
use RT
AUTHOR
Thomas Klausner, <domm@cpan.org>, http://domm.zsi.at
Please use the perl-qa mailing list for discussing all things CPANTS: http://lists.perl.org/showlist.cgi?name=perl-qa
Based on work by Leon Brocard <acme@astray.com> and the original idea proposed by Michael G. Schwern <schwern@pobox.com>
LICENSE
This code is Copyright (c) 2003-2006 Thomas Klausner. All rights reserved.
You may use and distribute this module according to the same terms that Perl is distributed under.