Condition Coverage

blib/lib/MooX/Tag/TO_HASH.pm
Criterion Covered Total %
condition 10 14 71.4


and 3 conditions

line !l l&&!r l&&r condition
99 62 24 24 exists $$opt{"if_exists"} and not $self->${\$$opt{"predicate"};}
103 72 1 13 exists $$opt{"if_defined"} and not defined $self->${\$attr;}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
107 11 0 0 $$opt{"alt_name"} // $attr
126 0 3 21 $self->can("_modify_hashr") // $self->can("modify_hashr")