Branch Coverage

blib/lib/MooX/Tag/TO_HASH.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
99 24 86 if exists $$opt{"if_exists"} and not $self->${\$$opt{"predicate"};}
103 13 73 if exists $$opt{"if_defined"} and not defined $self->${\$attr;}
107 11 62 exists $$opt{'alt_name'} ? :
114 1 72 if (exists $$opt{'no_recurse'}) { }
120 72 0 if defined $ref_to_value
126 3 21 if (defined(my $mth = $self->can("_modify_hashr") // $self->can("modify_hashr")))