Condition Coverage

blib/lib/Data/Sah/CoerceCommon.pm
Criterion Covered Total %
condition 10 23 43.4


and 3 conditions

line !l l&&!r l&&r condition
160 0 9 0 $SUPPORT_OLD_PREFIX and $rule_name =~ /\A\w+\z/
179 0 78 0 $SUPPORT_OLD_PREFIX && $rule_name =~ /\A\w+\z/
185 0 77 0 $rule_v != 3 and $rule_v != 4
217 0 37 0 ref $p eq "Regexp" and $rules[$j]{'name'} =~ /$p/

or 2 conditions

line l !l condition
157 8 18 $args{'coerce_rules'} // []
184 77 0 $rule_meta->{'v'} // 1
205 66 0 $Data::Sah::CoerceCommon::a->{'meta'}{'prio'} // 50
66 0 $Data::Sah::CoerceCommon::b->{'meta'}{'prio'} // 50

or 3 conditions

line l !l&&r !l&&!r condition
217 0 0 37 ref $p eq "Regexp" and $rules[$j]{'name'} =~ /$p/ or $rules[$j]{'name'} eq $p