CPANTS-Kwalitee-Report

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
Revision 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.

META.json  view on Meta::CPAN

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
      "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" : {

META.yml  view on Meta::CPAN

36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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'
resources:
version: '0.11'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
EXE_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

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
 
use Moo;
 
our $RECENT_MODS = 'https://metacpan.org/feed/recent';
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

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
=head1 VERSION
 
Version 0.11
 
=cut
 
use 5.006;
 
use Moo;
 
use overload q{""} => 'as_string', fallback => 1;
 
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

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
=head1 VERSION
 
Version 0.11
 
=cut
 
use 5.006;
 
use Moo;
 
use overload q{""} => 'as_string', fallback => 1;
 
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

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Version 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

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
=head1 VERSION
 
Version 0.11
 
=cut
 
use 5.006;
 
use Moo;
 
use overload q{""} => 'as_string', fallback => 1;
 
has [qw(indicator value)] => (is => 'ro');
 
=head1 DESCRIPTION
 
It represents the kwalitee score details.
 
=head1 SYNOPSIS

script/kwalitee-report  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl
 
#
# Author: Mohammad S Anwar (mohammad.anwar@yahoo.com)
# Distribution: CPANTS::Kwalitee::Report v0.11.
 
 
use Moo;
 
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 all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.099 second using v1.00-cache-2.02-grep-82fe00e-cpan-5f0c44f8eee )