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             package PAUSE::Packages::Release;
2             $PAUSE::Packages::Release::VERSION = '0.16';
3 5     5   62 use 5.10.0;
  5         16  
4 5     5   28 use Moo 1.006;
  5         76  
  5         30  
5 5     5   1433 use CPAN::DistnameInfo;
  5         8  
  5         493  
6              
7             has 'modules' => (is => 'ro');
8             has 'path' => (is => 'ro');
9             has 'distinfo' => (is => 'lazy');
10              
11             sub _build_distinfo
12             {
13 3     3   1683 my $self = shift;
14              
15 3         17 return CPAN::DistnameInfo->new($self->path);
16             }
17              
18             1;