File Coverage

blib/lib/PAUSE/Packages/Release.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 14 100.0


line stmt bran cond sub pod time code
1             $PAUSE::Packages::Release::VERSION = '0.18';
2             use 5.8.1;
3 6     6   81 use Moo 1.006;
  6         20  
4 6     6   29 use CPAN::DistnameInfo;
  6         119  
  6         48  
5 6     6   1804  
  6         12  
  6         606  
6             has 'modules' => (is => 'ro');
7             has 'path' => (is => 'ro');
8             has 'distinfo' => (is => 'lazy');
9              
10             {
11             my $self = shift;
12              
13 3     3   1076 return CPAN::DistnameInfo->new($self->path);
14             }
15 3         15  
16             1;