blib/lib/Parse/Method/Signatures/Param/Positional.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | 2 | 2 | 100.0 |
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 13 | 13 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Parse::Method::Signatures::Param::Positional; | ||||||
2 | |||||||
3 | 3 | 3 | 2023 | use Moose::Role; | |||
3 | 6 | ||||||
3 | 17 | ||||||
4 | 3 | 3 | 10342 | use namespace::clean -except => 'meta'; | |||
3 | 5 | ||||||
3 | 22 | ||||||
5 | |||||||
6 | sub _stringify_required { | ||||||
7 | 115 | 115 | 157 | my ($self) = @_; | |||
8 | 115 | 100 | 3082 | return $self->required ? q{} : q{?}; | |||
9 | } | ||||||
10 | |||||||
11 | 1; |