Condition Coverage

blib/lib/App/Dochazka/CLI/Util.pm
Criterion Covered Total %
condition 16 53 30.1


and 3 conditions

line !l l&&!r l&&r condition
206 0 6 11 defined $token and my($subtoken) = $token =~ /^((\d{1,2})|(\d{1,2}-\d{1,2}))(?=(,|$))/u
294 0 0 0 $status->not_ok and $status->payload
0 0 0 $status->not_ok and $status->payload and $status->payload->{'http_code'} == 403
295 0 0 0 $status->not_ok and $status->payload
0 0 0 $status->not_ok and $status->payload and $status->payload->{'http_code'} == 404
297 0 0 0 $status->not_ok and $status->payload
0 0 0 $status->not_ok and $status->payload and $status->payload->{'http_code'} != 500
0 0 0 $status->not_ok and $status->payload and $status->payload->{'http_code'} != 500 and &looks_like_number($key)
435 1 1 24 defined $rd and length $rd > 0
475 0 19 0 $+{'yyyy'} and $+{'mm'}
1 18 0 $+{'yyyy'} and $+{'mm'} and $+{'dd'}
523 0 0 1 defined $hours and defined $minutes
527 0 0 1 $hours and $minutes

or 2 conditions

line l !l condition
603 0 0 $status->{'http_status'} || $status->payload->{'http_code'} || 'Cannot be determined'
605 0 0 $status->payload->{'http_method'} || 'Cannot be determined'
607 0 0 $status->payload->{'uri_path'} || ''
658 10 4 length $str || 0

or 3 conditions

line l !l&&r !l&&!r condition
157 15 0 0 $PROPLIST{'password'} || $PROPLIST{'user'}
199 1 1 6 $App::Dochazka::CLI::Util::prompt_month < 1 or $App::Dochazka::CLI::Util::prompt_month > 12