Condition Coverage

blib/lib/Data/Sah/Compiler/human.pm
Criterion Covered Total %
condition 54 69 78.2


and 3 conditions

line !l l&&!r l&&r condition
184 2852 828 559 $im and $op eq "and"
2852 270 558 $im and $op eq "or"
2852 0 270 $im and $op eq "none"
224 271 90 4187 $ccl->{'type'} eq "clause" and grep {$_ eq "constraint";} @{$cd->{'cl_meta'}{'tags'} // [];}
341 5434 100 221 $cd->{'_fmt_noun_count'} == 1 and $cd->{'_fmt_etc_count'} == 0
370 5703 551 15703 ref $ccls eq "HASH" and $ccls->{'type'} =~ /^(noun|clause)$/
5703 0 551 ref $ccls eq "HASH" and $ccls->{'type'} eq "list"
463 5070 0 0 $cd->{'args'}{'debug'} and not defined $res

or 2 conditions

line l !l condition
49 5070 0 $cd->{'args'}{'format'} // ""
51 317 4729 $cd->{'_msg_catalog'} //= {}
118 3 9586 $ccl->{'xlt'} //= 1
120 4548 5041 $cd->{'clause'} // ""
121 5312 4277 $ccl->{'type'} //= "clause"
133 0 9589 $cd->{'args'}{'hash_values'} // {}
141 4548 5041 $cd->{'clset_dlang'} // "en_US"
167 2422 2126 $cd->{'cl_op'} // ""
169 1520 3028 $ccl->{'vals'} // [$cv]
224 4277 0 $cd->{'cl_meta'}{'tags'} // []
225 54 4133 $cd->{'clset'}{"$clause.err_level"} // "error"
250 10082 0 $_ // ""
253 10202 6 $_ // ""
291 2422 7167 $cd->{'cl_op'} // ""
424 0 3 $typex{$cd->{'type'}} // []

or 3 conditions

line l !l&&r !l&&!r condition
39 5070 0 0 $args->{'format'} //= $fmts[0]
50 0 317 4729 $cd->{'_msg_catalog'} //= $cd->{'outer_cd'}{'_msg_catalog'}
337 24 5755 5043 $f eq "inline_text" or $f eq "inline_err_text"
5779 5043 0 $f eq "inline_text" or $f eq "inline_err_text" or $f eq "msg_catalog"
461 0 5070 0 $cd->{'args'}{'locale'} // $cd->{'args'}{'lang'}