Branch Coverage

blib/lib/Class/ReluctantORM/Monitor.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
203 0 0 if ($args{'log'})
204 0 0 if (ref $args{'log'} and $args{'log'}->isa('IO::Handle')) { }
0 0 elsif ($args{'log'} eq 'STDOUT') { }
0 0 elsif ($args{'log'} eq 'STDERR') { }
224 0 0 if (not $args{'when'} or $args{'when'} eq 'all') { }
0 0 elsif ($args{'when'}) { }
231 0 0 if (not $args{'what'} or $args{'what'} eq 'all') { }
0 0 elsif ($args{'what'}) { }
352 0 0 unless $mon->log
356 0 0 if ($args{'sql_obj'} and exists $mon->what->{'sql_object'})
360 0 0 if ($args{'sql_obj'} and exists $mon->what->{'sql_object_pretty'})
364 0 0 if ($args{'sql_str'} and exists $mon->what->{'statement'})
368 0 0 if ($args{'binds'} and exists $mon->what->{'binds'})
372 0 0 if ($args{'row'} and exists $mon->what->{'row'})
376 0 0 if ($args{'sql_obj'} and exists $mon->what->{'origin'} and $args{'sql_obj'}->last_origin_frame)
383 0 0 if ($mon->trace_limit and $frames_printed >= $mon->trace_limit)
389 0 0 if ($args{'log_extra'})
390 0 0 if ($args{'log_extra'}{'one_line'}) { }
398 0 0 unless $msg
418 0 0 if ($$frame{'package'} =~ /Mungo::FilePage/)
439 0 0 if ($self->log_prefix)
452 0 0 $_ ? :