Branch Coverage

blib/lib/Dancer2/Plugin/LogReport.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
46 2 0 'version'->parse($Dancer2::Plugin::VERSION) > 0.166001 ? :
184 0 1 unless ref $coderef eq "CODE"
188 1 0 unless $e->success
217 29 0 $ref ? :
231 13 1 if not $dsl->app->config->{'show_errors'}
237 1 10 unless $session_messages{$msg->reason} and not $msg->inClass("no_session")
243 0 10 unless ($dsl)
254 0 10 unless $app->request
262 5 5 if (my $newm = $hide_real_message->{$r})
288 0 8 unless my $req = $dsl->app->request
290 4 4 $req->uri eq $page && $req->is_get ? :
303 1 8 if exists $options->{'is_fatal'} and not $options->{'is_fatal'}
311 0 3 if $return = &$ufh(&_get_dsl(), $message, $reason)
313 1 0 if not $return
316 3 10 @user_fatal_handlers ? :
344 0 2 builtin::blessed($_[0]) && $_[0]->isa('Log::Report::Message') ? :
347 0 2 if ($reason eq "SUCCESS")
348 0 0 unless builtin::blessed($msg)