File Coverage

blib/lib/Module/CPANTS/Kwalitee/Distname.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 3 3 100.0
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Module::CPANTS::Kwalitee::Distname;
2 7     7   4095 use warnings;
  7         25  
  7         290  
3 7     7   48 use strict;
  7         14  
  7         1350  
4              
5             our $VERSION = '1.02';
6             $VERSION =~ s/_//; ## no critic
7              
8 35     35 1 81 sub order { 20 }
9              
10             ##################################################################
11             # Analyse
12             ##################################################################
13              
14             sub analyse {
15 12     12 1 54 my $class = shift;
16 12         27 my $me = shift;
17              
18             # NOTE: The analysis code has moved to ::Analyse to avoid
19             # duplication.
20              
21             # Note also that this stub should not be removed so that
22             # this can replace the old ::Distname module, and the old
23             # metrics will not be loaded while loading plugins.
24 12         33 return;
25             }
26              
27              
28             ##################################################################
29             # Kwalitee Indicators
30             ##################################################################
31              
32             sub kwalitee_indicators {
33             # NOTE: The metrics in this module have moved to
34             # Module::CPANTS::SiteKwalitee because these require an archived
35             # distribution which you don't have while testing local Kwalitee
36             # with Test::Kwalitee.
37              
38 8     8 1 125 return [];
39             }
40              
41              
42             q{Favourite record of the moment:
43             Fat Freddys Drop: Based on a true story};
44              
45              
46             __END__