Condition Coverage

lib/PAGI/Middleware/ErrorHandler.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
115 7 0 1 builtin::blessed($error) and $error->can("status_code")
164 1 0 0 $self->{'development'} and $error_text ne $display_error
191 4 0 2 $self->{'development'} and $safe_stack

or 2 conditions

line l !l condition
60 4 6 $config->{'development'} // 0
62 2 8 $config->{'content_type'} // "text/html"
63 0 10 $config->{'status'} // 500
94 8 0 $@ || 'Unknown error'
228 5 0 $messages{$status} // "Error"