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 | 19 | 19 | 218865 | use v5.14.0; | |||
19 | 76 | ||||||
4 | 19 | 19 | 111 | use warnings; | |||
19 | 42 | ||||||
19 | 2429 | ||||||
5 | |||||||
6 | our $VERSION = "0.06"; | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 44 | 44 | 1 | 4226 | my ($class, %args) = @_; | ||
10 | 44 | 206 | bless \%args => $class; | ||||
11 | } | ||||||
12 | |||||||
13 | 14 | 14 | 1 | 6130 | sub type() { $_[0]->{type} } | ||
14 | 4 | 4 | 1 | 337 | sub type_display_name() { $_[0]->type->display_name } | ||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |