Condition Coverage

blib/lib/MooX/Tag/TO_HASH.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
126 35 0 28 exists $$opt{"if_exists"} and $$opt{"if_exists"}
35 16 12 exists $$opt{"if_exists"} and $$opt{"if_exists"} and not $self->${\$$opt{"predicate"};}
131 44 0 7 exists $$opt{"if_defined"} and $$opt{"if_defined"}
44 1 6 exists $$opt{"if_defined"} and $$opt{"if_defined"} and not defined $self->${\$attr;}
138 44 0 1 exists $$opt{"no_recurse"} and $$opt{"no_recurse"}

or 2 conditions

line l !l condition
100 12 0 $self->_tags->tag_attr_hash->{"to_hash"} // {}

or 3 conditions

line l !l&&r !l&&!r condition
135 7 0 0 $$opt{"alt_name"} // $attr