Condition Coverage

blib/lib/Dancer2/Plugin/LogReport.pm
Criterion Covered Total %
condition 26 42 61.9


and 3 conditions

line !l l&&!r l&&r condition
212 90 141 29 builtin::blessed($DB::args[0]) and builtin::blessed($DB::args[0]) eq "Dancer2::Core::App"
231 0 29 builtin::blessed($DB::args[0]) and builtin::blessed($DB::args[0]) eq "Dancer2::Core::App" and $ref = builtin::refaddr($DB::args[0])
211 20 0 builtin::blessed($DB::args[1]) and builtin::blessed($DB::args[1]) eq "Dancer2::Core::App"
231 0 0 builtin::blessed($DB::args[1]) and builtin::blessed($DB::args[1]) eq "Dancer2::Core::App" and $ref = builtin::refaddr($DB::args[1])
237 1 0 10 $session_messages{$msg->reason} and not $msg->inClass("no_session")
290 4 0 4 $req->uri eq $page && $req->is_get
303 4 4 1 exists $options->{'is_fatal'} and not $options->{'is_fatal'}
344 2 0 0 builtin::blessed($_[0]) && $_[0]->isa('Log::Report::Message')

or 2 conditions

line l !l condition
231 0 13 $_settings->{'fatal_error_message'} // "An unexpected error has occurred"
272 10 0 $dsl || undef
281 0 8 $_settings->{'forward_url'} || '/'

or 3 conditions

line l !l&&r !l&&!r condition
212 0 29 231 not @ret or builtin::blessed($DB::args[0]) and builtin::blessed($DB::args[0]) eq "Dancer2::Core::App" and $ref = builtin::refaddr($DB::args[0])
29 0 231 not @ret or builtin::blessed($DB::args[0]) and builtin::blessed($DB::args[0]) eq "Dancer2::Core::App" and $ref = builtin::refaddr($DB::args[0]) or builtin::blessed($DB::args[1]) and builtin::blessed($DB::args[1]) eq "Dancer2::Core::App" and $ref = builtin::refaddr($DB::args[1])
279 8 0 0 $dsl ||= &_get_dsl()
337 11 2 0 $handler{$reason} || $handler{'default'}