Condition Coverage

blib/lib/Perinci/Sub/Normalize.pm
Criterion Covered Total %
condition 33 38 86.8


and 3 conditions

line !l l&&!r l&&r condition
24 2 0 20 defined $meta->{'v'} and $meta->{'v'} eq $ver
45 55 2 1 defined $attr and $attr =~ /\A_|\._/
69 2 42 9 $prop_proplist and $prop_proplist->{'_prop'}
2 42 0 $prop_proplist and $prop_proplist->{'_elem_prop'}
2 42 0 $prop_proplist and $prop_proplist->{'_value_prop'}
122 23 3 8 $k eq "schema" and $opt_nss

or 2 conditions

line l !l condition
138 4 14 $opts //= {}
140 2 16 $opts->{'allow_unknown_properties'} //= 0
141 1 17 $opts->{'normalize_sah_schemas'} //= 1
142 1 17 $opts->{'remove_internal_properties'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
45 4 18 40 $prop =~ /\A_/ or defined $attr and $attr =~ /\A_|\._/
55 7 46 4 $opt_aup or $prop_proplist
56 0 2 2 $modprefix //= $prefix
66 7 46 0 $opt_aup or $prop_proplist