Condition Coverage

lib/Drogo/Guts.pm
Criterion Covered Total %
condition 22 77 28.5


and 3 conditions

line !l l&&!r l&&r condition
145 15 0 0 !$error && $r && $r->can('process_request_method') && $r->process_request_method(\&handle_request_body)
551 0 0 0 not $r->args and substr($request_body, 0, 1) ne '{'
0 0 0 not $r->args and substr($request_body, 0, 1) ne '{' and index($request_body, "\n") == -1
597 15 0 0 UNIVERSAL::can($init_class, 'init') and not $method eq 'error'
613 0 0 0 $@ and $@ ne "drogo-exit\n"
649 0 0 0 $@ and $@ ne "drogo-exit\n"
661 0 0 0 'Drogo::Guts'->auto_header and 'Drogo::Guts'->dispatching
694 15 0 0 $@ and $@ ne "drogo-exit\n"
730 0 0 0 $@ and $@ ne "drogo-exit\n"
742 0 0 0 'Drogo::Guts'->auto_header and 'Drogo::Guts'->dispatching
755 0 0 15 'Drogo::Guts'->auto_header and 'Drogo::Guts'->dispatching
760 0 0 15 UNIVERSAL::can($cleanup_class, 'cleanup') and $method ne 'error'
0 0 15 UNIVERSAL::can($cleanup_class, 'cleanup') and $method ne 'error' and 'Drogo::Guts'->dispatching

or 2 conditions

line l !l condition
121 13 2 $params{'post_args'} || []
126 15 0 $method || 'main'
0 15 $error || ''
15 0 $bless || ''
13 2 $base_class || ''
13 2 $dispatch_url || ''
15 0 $post_args || []

or 3 conditions

line l !l&&r !l&&!r condition
570 0 0 15 $params{'request'} || $r->request_body
0 0 15 $params{'args'} || $r->args
596 13 2 0 $base_class || $class
625 0 0 0 $params{'request'} || $r->request_body
0 0 0 $params{'args'} || $r->args
706 0 0 0 $params{'request'} || $r->request_body
0 0 0 $params{'args'} || $r->args
759 13 2 0 $base_class || $class