File Coverage

blib/lib/Variable/Declaration/Info.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 3 4 75.0
total 24 25 96.0


line stmt bran cond sub pod time code
1             package Variable::Declaration::Info;
2 1     1   14 use v5.12.0;
  1         3  
3 1     1   7 use strict;
  1         2  
  1         23  
4 1     1   4 use warnings;
  1         3  
  1         150  
5              
6             sub new {
7 5     5 0 11 my $class = shift;
8 5         20 my %args = @_;
9 5         21 bless \%args => $class;
10             }
11              
12 5     5 1 2132 sub declaration { $_[0]->{declaration} }
13 5     5 1 19 sub type { $_[0]->{type} }
14 5     5 1 21 sub attributes { $_[0]->{attributes} }
15              
16             1;
17             __END__