Condition Coverage

blib/lib/Sub/Meta/Returns.pm
Criterion Covered Total %
condition 49 49 100.0


and 3 conditions

line !l l&&!r l&&r condition
18 169 14 58 ref $v && ref $v eq 'HASH'
43 1 1 51 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Returns")
72 1 1 58 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Returns")
127 125 24 11 ref $type and ref $type eq "ARRAY"
135 10 26 113 defined $other and $type eq $other
144 18 20 2 ref $type and ref $type eq "ARRAY"
161 1 1 20 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Returns")
193 1 1 19 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta::Returns")
216 4 1 14 $self->has_scalar && _eq($self->scalar, $self->list) && _eq($self->scalar, $self->void)
224 14 7 1 ref $type and ref $type eq "ARRAY"

or 2 conditions

line l !l condition
161 1 1 $other // "Undef"
165 2 1 $other->scalar // ""
173 1 1 $other->list // ""
181 1 1 $other->void // ""
193 1 1 $other // "Undef"
197 2 1 $other->scalar // ""
202 1 1 $other->list // ""
207 1 1 $other->void // ""

or 3 conditions

line l !l&&r !l&&!r condition
235 1 1 17 $self->has_scalar || $self->has_list || $self->has_void