CPANTS-Kwalitee-Report
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
12345678910111213Revision history
for
CPANTS::Kwalitee::Report
0.11 Thu Oct 25 18:10:00 2018
- Used namespace::autoclean instead.
0.10 Mon May 29 08:25:00 2017
- Tidied up attributes definition using
'lazy'
and
'builder'
.
0.09 Wed May 10 10:30:00 2017
- Added test scripts (t/meta-json.t and t/meta-yml.t).
0.08 Tue May 09 12:40:00 2017
- Added key
'provides'
to the Makefile.PL script.
343536373839404142434445464748495051525354
"requires"
: {
"File::Temp"
:
"0.2304"
,
"LWP::Simple"
:
"6.15"
,
"List::Util"
:
"1.33"
,
"Module::CPANTS::Analyse"
:
"0.97"
,
"Module::CPANTS::Kwalitee"
:
"0.97"
,
"Moo"
:
"2.000000"
,
"MooX::Options"
:
"4.023"
,
"Parse::CPAN::Packages"
:
"2.40"
,
"XML::RSS::Parser"
:
"4.0"
,
"namespace::autoclean"
:
"0.28"
,
"perl"
:
"5.006"
}
}
},
"provides"
: {
"CPANTS::Kwalitee::Report"
: {
"file"
:
"lib/CPANTS/Kwalitee/Report.pm"
,
"version"
:
"0.11"
},
"CPANTS::Kwalitee::Report::Distribution"
: {
36373839404142434445464748495051requires:
File::Temp:
'0.2304'
LWP::Simple:
'6.15'
List::Util:
'1.33'
Module::CPANTS::Analyse:
'0.97'
Module::CPANTS::Kwalitee:
'0.97'
Moo:
'2.000000'
MooX::Options:
'4.023'
Parse::CPAN::Packages:
'2.40'
XML::RSS::Parser:
'4.0'
namespace::autoclean:
'0.28'
perl:
'5.006'
resources:
version:
'0.11'
x_serialization_backend:
'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
141516171819202122232425262728293031323334EXE_FILES
=> [
'script/kwalitee-report'
],
MIN_PERL_VERSION
=> 5.006,
CONFIGURE_REQUIRES
=> {
'ExtUtils::MakeMaker'
=> 0,
},
BUILD_REQUIRES
=> {
'Test::More'
=> 0,
},
PREREQ_PM
=> {
'Moo'
=>
'2.000000'
,
'namespace::autoclean'
=>
'0.28'
,
'MooX::Options'
=>
'4.023'
,
'List::Util'
=>
'1.33'
,
'LWP::Simple'
=>
'6.15'
,
'File::Temp'
=>
'0.2304'
,
'XML::RSS::Parser'
=>
'4.0'
,
'Module::CPANTS::Kwalitee'
=>
'0.97'
,
'Module::CPANTS::Analyse'
=>
'0.97'
,
'Parse::CPAN::Packages'
=>
'2.40'
,
},
dist
=> {
COMPRESS
=>
'gzip -9f'
,
SUFFIX
=>
'gz'
, },
lib/CPANTS/Kwalitee/Report.pm view on Meta::CPAN
222324252627282930313233343536373839404142use
Moo;
use
namespace::autoclean;
our
$MIN_COUNT
= 5;
our
$MAX_COUNT
= 100;
has
[
qw(parser generators indicators recent_dists verbose)
] => (
is
=>
'rw'
);
has
[
qw(index recent rss kwalitee)
] => (
is
=>
'lazy'
);
sub
_build_index { get(
$PAUSE_INDEX
) }
lib/CPANTS/Kwalitee/Report/Distribution.pm view on Meta::CPAN
1011121314151617181920212223242526272829=head1 VERSION
Version 0.11
=cut
use
5.006;
use
Data::Dumper;
use
Moo;
use
namespace::autoclean;
has
[
qw(name path)
] => (
is
=>
'ro'
,
required
=> 1);
has
[
qw(link scores)
] => (
is
=>
'rw'
);
=head1 DESCRIPTION
It represents the search result of distribution kwalitee scores.
lib/CPANTS/Kwalitee/Report/Generator.pm view on Meta::CPAN
1011121314151617181920212223242526272829=head1 VERSION
Version 0.11
=cut
use
5.006;
use
Data::Dumper;
use
Moo;
use
namespace::autoclean;
has
[
qw(name version indicators)
] => (
is
=>
'ro'
,
required
=> 1);
has
'verbose'
=> (
is
=>
'lazy'
);
sub
_build_verbose { 0 }
=head1 DESCRIPTION
lib/CPANTS/Kwalitee/Report/Indicator.pm view on Meta::CPAN
111213141516171819202122232425262728293031Version 0.11
=cut
use 5.006;
use Data::Dumper;
use List::Util qw(any);
use Moo;
use namespace::autoclean;
use overload q{""} => 'as_string', fallback => 1;
has [qw(types error remedy)] => (is => 'ro');
has 'name' => (is => 'ro', required => 1);
has 'verbose' => (is => 'lazy');
sub _build_verbose { 0 }
=head1 DESCRIPTION
lib/CPANTS/Kwalitee/Report/Score.pm view on Meta::CPAN
101112131415161718192021222324252627282930=head1 VERSION
Version 0.11
=cut
use
5.006;
use
Data::Dumper;
use
Moo;
use
namespace::autoclean;
has
[
qw(indicator value)
] => (
is
=>
'ro'
);
=head1 DESCRIPTION
It represents the kwalitee score details.
=head1 SYNOPSIS
script/kwalitee-report view on Meta::CPAN
view all matches for this distribution
1234567891011121314151617181920#!/usr/bin/perl
#
# Author: Mohammad S Anwar (mohammad.anwar@yahoo.com)
# Distribution: CPANTS::Kwalitee::Report v0.11.
package
KwaliteeReport;
use
Moo;
use
namespace::autoclean;
use
MooX::Options;
has
'reporter'
=> (
is
=>
'rw'
,
default
=>
sub
{ CPANTS::Kwalitee::Report->new });
option
'dist'
=> (
is
=>
'ro'
,
order
=> 1,
format
=>
's'
,
doc
=>
'Distribution name to generate Kwalitee report.'
);
option
'metrics'
=> (
is
=>
'ro'
,
order
=> 2,
doc
=>
'Show CPANTS Kwalitee metrics.'
);
option
'recently_uploaded_dists'
=> (
is
=>
'ro'
,
order
=> 3,
doc
=>
'Lookup recently uploaded distributions.'
);
option
'n'
=> (
is
=>
'ro'
,
order
=> 4,
format
=>
'i'
,
default
=>
sub
{ 5 },
doc
=>
'Distribution count to generate Kwalitee report. Default is 5.'
);
option
'verbose'
=> (
is
=>
'ro'
,
order
=> 5,
doc
=>
'Be more descriptive. Default is OFF.'
);
view release on metacpan - search on metacpan
( run in 1.099 second using v1.00-cache-2.02-grep-82fe00e-cpan-5f0c44f8eee )