Condition Coverage

blib/lib/App/Dochazka/REST/Dispatch.pm
Criterion Covered Total %
condition 0 92 0.0


and 3 conditions

line !l l&&!r l&&r condition
149 0 0 0 $status->ok and $status->code eq "DISPATCH_RECORDS_FOUND"
172 0 0 0 ref $App::Dochazka::REST::Dispatch::router and $App::Dochazka::REST::Dispatch::router->can("match")
239 0 0 0 ref $conn and $conn->can("dbh")
394 0 0 0 defined $begin and defined $end
460 0 0 0 $type ne "meta" and $method =~ /^(PUT)|(DELETE)$/
1660 0 0 0 $status->level eq "NOTICE" and $status->code eq "DISPATCH_NO_RECORDS_FOUND"
1837 0 0 0 $status->level eq "NOTICE" and $status->code eq "DISPATCH_NO_RECORDS_FOUND"
1888 0 0 0 $status->level eq "NOTICE" and $status->code eq "DISPATCH_NO_RECORDS_FOUND"
1929 0 0 0 $entity->{'scode'} and not $entity->{'sid'}
2258 0 0 0 $method eq "GET" and $intlock eq "Interval"
0 0 0 $method eq "GET" and $intlock eq "Lock"
0 0 0 $method eq "GET" and $intlock eq "Summary"
0 0 0 $method eq "DELETE" and $intlock eq "Interval"
2264 0 0 0 $status->level eq "ERR" and $status->code eq "DISPATCH_SUMMARY_ILLEGAL_TSRANGE"
2275 0 0 0 $status->level eq "NOTICE" and $status->code eq "DISPATCH_NO_RECORDS_FOUND"
2691 0 0 0 $status->level eq "NOTICE" and $status->code eq "DISPATCH_NO_RECORDS_FOUND"
2819 0 0 0 $fillup->constructor_status and $fillup->constructor_status->isa("App::CELL::Status")
2914 0 0 0 $date_list and $tsrange
3248 0 0 0 $mapping->{'ts'} and $mapping->{'psqlint'}

or 2 conditions

line l !l condition
309 0 0 $def->{'documentation'} || "=pod\n\nThe definition of resource $docu_resource lacks a 'documentation' property \n"
1975 0 0 $status->payload->{$id} || 'UNDEF'
2273 0 0 $intlock || 'undef'
2400 0 0 $method || 'undef'
2445 0 0 $method || 'undef'
2585 0 0 $method || 'undef'
2633 0 0 $method || 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
2234 0 0 0 acl_check_is_me($self, $key, $value) or acl_check_is_my_report($self, $key, $value)
2381 0 0 0 acl_check_is_me($self, "eid", $int->eid) or acl_check_is_my_report($self, "eid", $int->eid)
2566 0 0 0 acl_check_is_me($self, "eid", $lock->eid) or acl_check_is_my_report($self, "eid", $lock->eid)
2790 0 0 0 acl_check_is_me($self, 'eid', $emp->eid) || acl_check_is_my_report($self, 'eid', $emp->eid)
2812 0 0 0 not defined $fillup or ref $fillup ne "App::Dochazka::REST::Fillup"
2914 0 0 0 $date_list || $tsrange
0 0 0 $date_list and $tsrange or not $date_list || $tsrange