blib/lib/Function/Interface/Info/Function.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 11 | 100.0 |
line | l | !l | condition |
---|---|---|---|
40 | 7 | 32 | $self->{'positional_required'} //= [grep({not $_->named || $_->optional;} @{$self->params;})] |
45 | 2 | 29 | $self->{'positional_optional'} //= [grep({$_->optional if not $_->named;} @{$self->params;})] |
50 | 2 | 28 | $self->{'named_required'} //= [grep({not $_->optional if $_->named;} @{$self->params;})] |
55 | 2 | 27 | $self->{'named_optional'} //= [grep({$_->optional if $_->named;} @{$self->params;})] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 7 | 5 | 11 | $_->named || $_->optional |