-
-
08 Aug 2019 03:58:02 UTC
- Distribution: Module-CPANTS-Analyse
- Module version: 1.01
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (57)
- Testers (4099 / 1 / 1)
- Kwalitee
Bus factor: 3- 57.69% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (38.02KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Archive::Any::Lite
- Archive::Tar
- Array::Diff
- CPAN::DistnameInfo
- CPAN::Meta::Validator
- CPAN::Meta::YAML
- Class::Accessor
- Data::Binary
- File::Find::Object
- JSON::PP
- List::Util
- Module::Find
- Perl::PrereqScanner::NotQuiteLite
- Software::License
- Text::Balanced
- version
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Module::CPANTS::Analyse - Generate Kwalitee ratings for a distribution
SYNOPSIS
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;
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.
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/
BUGS
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.AUTHOR
Please use the
perl-qa
mailing list for discussing all things CPANTS: https://lists.perl.org/list/perl-qa.htmlBased on work by Léon Brocard and the original idea proposed by Michael G. Schwern.
LICENSE
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.
Module Install Instructions
To install Module::CPANTS::Analyse, copy and paste the appropriate command in to your terminal.
cpanm Module::CPANTS::Analyse
perl -MCPAN -e shell install Module::CPANTS::Analyse
For more information on module installation, please visit the detailed CPAN module installation guide.