Condition Coverage

blib/lib/MooX/Tag/TO_HASH/Util.pm
Criterion Covered Total %
condition 6 16 37.5


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 defined $_ and _croak_tag_attr($tag, $attrs, "unknown option: $_ ")
84 76 0 0 ref $attrs and @{$attrs;} > 1
90 0 0 0 defined $opt{'predicate'} and $opt{'predicate'} ne 1

or 2 conditions

line l !l condition
106 0 36 $opt{'predicate'} //= 1
123 36 0 $opt{'predicate'} //= 1

or 3 conditions

line l !l&&r !l&&!r condition
72 15 5 114 not defined $spec or ref $spec