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 | 2117 | use Moose::Role; | |||
3 | 4 | ||||||
3 | 19 | ||||||
4 | 3 | 3 | 11135 | use namespace::clean -except => 'meta'; | |||
3 | 5 | ||||||
3 | 25 | ||||||
5 | |||||||
6 | sub _stringify_required { | ||||||
7 | 115 | 115 | 147 | my ($self) = @_; | |||
8 | 115 | 100 | 3312 | return $self->required ? q{} : q{?}; | |||
9 | } | ||||||
10 | |||||||
11 | 1; |