File Coverage

blib/lib/Module/CPANfile/Prereq.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 6 7 85.7
pod 0 6 0.0
total 15 23 65.2


line stmt bran cond sub pod time code
1             package Module::CPANfile::Prereq;
2 7     7   54 use strict;
  7         15  
  7         1116  
3              
4             sub new {
5 39     39 0 182 my($class, %options) = @_;
6 39         365 bless \%options, $class;
7             }
8              
9 0     0 0 0 sub feature { $_[0]->{feature} }
10 38     38 0 142 sub phase { $_[0]->{phase} }
11 38     38 0 129 sub type { $_[0]->{type} }
12 120     120 0 598 sub module { $_[0]->{module} }
13 76     76 0 284 sub requirement { $_[0]->{requirement} }
14              
15             1;