Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nigelhorne/cpan-unsupportedfinder

Analyse CPAN modules for test results and maintenance status
https://github.com/nigelhorne/cpan-unsupportedfinder

cpan perl perl5

Last synced: 4 days ago
JSON representation

Analyse CPAN modules for test results and maintenance status

Awesome Lists containing this project

README

        

# NAME

CPAN::UnsupportedFinder - Identify unsupported or poorly maintained CPAN modules

# DESCRIPTION

CPAN::UnsupportedFinder analyzes CPAN modules for test results and maintenance status, flagging unsupported or poorly maintained distributions.

# VERSION

Version 0.02

# SYNOPSIS

use CPAN::UnsupportedFinder;

# Note use of hyphens not colons
my $finder = CPAN::UnsupportedFinder->new(verbose => 1);
my $results = $finder->analyze('Some-Module', 'Another-Module');

for my $module (@$results) {
print "Module: $module->{module}\n";
print "Failure Rate: $module->{failure_rate}\n";
print "Last Update: $module->{last_update}\n";
}

# METHODS

## new

Creates a new instance. Accepts the following arguments:

- verbose

Enable verbose output.

- api\_url

metacpan URL, defaults to [https://fastapi.metacpan.org/v1](https://fastapi.metacpan.org/v1)

- cpan\_testers

CPAN testers URL, detaults to [https://api.cpantesters.org/api/v1](https://api.cpantesters.org/api/v1)

## analyze(@modules)

Analyzes the provided modules. Returns an array reference of unsupported modules.

# AUTHOR

Nigel Horne

# LICENCE

This program is released under the following licence: GPL2