GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MODULE::CPANTS::ANALYSE (3)

.ds Aq ’

NAME

Module::CPANTS::Analyse - Generate Kwalitee ratings for a distribution

CONTENTS

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

<http://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 <http://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

Thomas Klausner <https://metacpan.org/author/domm>

Please use the perl-qa mailing list for discussing all things CPANTS: <http://lists.perl.org/list/perl-qa.html>

Based on work by León Brocard <https://metacpan.org/author/lbrocard> and the original idea proposed by Michael G. Schwern <https://metacpan.org/author/schwern>.

LICENSE

This code is Copyright X 2003X2006 Thomas Klausner <https://metacpan.org/author/domm>. All rights reserved.

You may use and distribute this module according to the same terms that Perl is distributed under.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MODULE::CPANTS::ANALYSE (3) 2014-11-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.