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   16 use v5.12.0;
  1         3  
3 1     1   7 use strict;
  1         2  
  1         20  
4 1     1   5 use warnings;
  1         2  
  1         138  
5              
6             sub new {
7 5     5 0 12 my $class = shift;
8 5         18 my %args = @_;
9 5         21 bless \%args => $class;
10             }
11              
12 5     5 1 2321 sub declaration { $_[0]->{declaration} }
13 5     5 1 21 sub type { $_[0]->{type} }
14 5     5 1 21 sub attributes { $_[0]->{attributes} }
15              
16             1;
17             __END__