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(\&Drogo::Guts::handle_request_body)
554 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
600 15 0 0 UNIVERSAL::can($init_class, "init") and not $method eq "error"
616 0 0 0 $@ and $@ ne "drogo-exit\n"
652 0 0 0 $@ and $@ ne "drogo-exit\n"
664 0 0 0 __PACKAGE__->auto_header and __PACKAGE__->dispatching
697 15 0 0 $@ and $@ ne "drogo-exit\n"
733 0 0 0 $@ and $@ ne "drogo-exit\n"
745 0 0 0 __PACKAGE__->auto_header and __PACKAGE__->dispatching
758 0 0 15 __PACKAGE__->auto_header and __PACKAGE__->dispatching
763 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 __PACKAGE__->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
583 0 0 15 $params{'request'} || $r->request_body
0 0 15 $params{'args'} || $r->args
599 13 2 0 $base_class || $class
636 0 0 0 $params{'request'} || $r->request_body
0 0 0 $params{'args'} || $r->args
717 0 0 0 $params{'request'} || $r->request_body
0 0 0 $params{'args'} || $r->args
762 13 2 0 $base_class || $class