Condition Coverage

blib/lib/Sub/Meta/Parameters.pm
Criterion Covered Total %
condition 54 55 98.1


and 3 conditions

line !l l&&!r l&&r condition
48 9 1 20 &Scalar::Util::blessed($v) && $v->isa('Sub::Meta::Param')
63 1 103 154 defined $v and $v == 0 || $v == 1
69 181 35 40 $v == 1 and not defined $self->invocant
74 75 180 1 $v == 0 and defined $self->invocant
84 6 1 57 &Scalar::Util::blessed($v) && $v->isa('Sub::Meta::Param')
102 1 2 175 @args == 1 and ref $args
111 3 0 2 ref $v && ref $v eq 'HASH'
125 62 15 79 &Scalar::Util::blessed($_) && $_->isa('Sub::Meta::Param')
166 1 1 79 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Parameters")
189 1 1 85 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Parameters")
251 1 1 23 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Parameters")
281 1 1 23 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Parameters")

or 2 conditions

line l !l condition
35 531 210 $self->{'nshift'} // 0
37 1699 556 $self->{'args'} // []
64 1 1 $v // ""
251 1 1 $other // "Undef"
281 1 1 $other // "Undef"

or 3 conditions

line l !l&&r !l&&!r condition
63 181 75 1 $v == 0 || $v == 1
156 2 8 35 $self->slurpy or @{$self->named;}
322 24 1 11 $self->has_args or $self->has_slurpy