Condition Coverage

lib/HTTP/Promise/Status.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
684 0 0 18 defined $code and $code =~ /^\d{3}$/
745 7 3 25 defined $code and $code =~ /^\d{3}$/
746 3 5 17 $code >= $min && $code < $max

or 3 conditions

line l !l&&r !l&&!r condition
686 2 1 5 $code == 200 || $code == 203 || $code == 204 || $code == 206 || $code == 300 || $code == 301 || $code == 308 || $code == 404 || $code == 405 || $code == 410 || $code == 414 || $code == 451 || $code == 501