Condition Coverage

blib/lib/Sub/Meta/Parameters.pm
Criterion Covered Total %
condition 55 56 98.2


and 3 conditions

line !l l&&!r l&&r condition
50 7 1 20 &Scalar::Util::blessed($v) && $v->isa('Sub::Meta::Param')
65 1 1 91 defined $v and $v == 0 || $v == 1
71 30 30 31 $v == 1 and not defined $self->invocant
76 61 29 1 $v == 0 and defined $self->invocant
86 6 1 44 &Scalar::Util::blessed($v) && $v->isa('Sub::Meta::Param')
104 1 2 157 @args == 1 and ref $args
113 3 0 2 ref $v && ref $v eq 'HASH'
127 51 1 78 &Scalar::Util::blessed($_) && $_->isa('Sub::Meta::Param')
168 3 1 52 &Scalar::Util::blessed($other) and $other->isa('Sub::Meta::Parameters')
191 4 1 53 &Scalar::Util::blessed($other) and $other->isa('Sub::Meta::Parameters')
253 2 1 20 &Scalar::Util::blessed($other) and $other->isa('Sub::Meta::Parameters')
283 2 1 20 &Scalar::Util::blessed($other) and $other->isa('Sub::Meta::Parameters')
310 9 1 1 $self->invocant and $self->invocant->display
314 4 6 1 $s and $self->slurpy

or 2 conditions

line l !l condition
38 290 178 $self->{'nshift'} // 0
66 1 1 $v // ''
253 1 2 $other // ''
283 1 2 $other // ''

or 3 conditions

line l !l&&r !l&&!r condition
65 30 61 1 $v == 0 || $v == 1
158 2 8 13 $self->slurpy or @{$self->named;}