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   3819 use warnings;
  7         17  
  7         241  
3 7     7   35 use strict;
  7         15  
  7         769  
4              
5             our $VERSION = '1.01';
6             $VERSION =~ s/_//; ## no critic
7              
8 35     35 1 70 sub order { 20 }
9              
10             ##################################################################
11             # Analyse
12             ##################################################################
13              
14             sub analyse {
15 11     11 1 39 my $class = shift;
16 11         19 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 11         30 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 102 return [];
39             }
40              
41              
42             q{Favourite record of the moment:
43             Fat Freddys Drop: Based on a true story};
44              
45              
46             __END__