File Coverage

blib/lib/Function/Interface/Info/Function/ReturnParam.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 3 3 100.0
total 17 17 100.0


line stmt bran cond sub pod time code
1             package Function::Interface::Info::Function::ReturnParam;
2              
3 12     12   173487 use v5.14.0;
  12         39  
4 12     12   58 use warnings;
  12         24  
  12         1348  
5              
6             our $VERSION = "0.04";
7              
8             sub new {
9 44     44 1 4125 my ($class, %args) = @_;
10 44         144 bless \%args => $class;
11             }
12              
13 14     14 1 5027 sub type() { $_[0]->{type} }
14 4     4 1 270 sub type_display_name() { $_[0]->type->display_name }
15              
16             1;
17             __END__