Condition Coverage

blib/lib/Params/Sah.pm
Criterion Covered Total %
condition 26 34 76.4


and 3 conditions

line !l l&&!r l&&r condition
148 25 12 12 $mod_rec->{'use_statement'} and $_->{'use_statement'}
12 0 12 $mod_rec->{'use_statement'} and $_->{'use_statement'} and $_->{'use_statement'} eq $mod_rec->{'use_statement'}
158 14 12 0 $i and $opt_on_invalid =~ /\A(carp|warn)\z/

or 2 conditions

line l !l condition
33 15 0 (delete $opts->{'on_invalid'} // $OPT_ON_INVALID) // 'croak'
38 11 0 (delete $opts->{'named'} // $OPT_NAMED) // 0
39 16 0 (delete $opts->{'disable'} // $OPT_DISABLE) // 0
40 15 0 (delete $opts->{'allow_extra'} // $OPT_ALLOW_EXTRA) // 0
41 5 12 delete $opts->{'optional_params'} // []

or 3 conditions

line l !l&&r !l&&!r condition
33 3 15 0 delete $opts->{'on_invalid'} // $OPT_ON_INVALID
38 6 1 10 delete $opts->{'named'} // $OPT_NAMED
39 1 1 15 delete $opts->{'disable'} // $OPT_DISABLE
40 2 2 13 delete $opts->{'allow_extra'} // $OPT_ALLOW_EXTRA
150 14 13 0 $mod_rec->{'use_statement'} // "require $mod_rec->{'name'}"