Condition Coverage

blib/lib/Mojolicious/Plugin/Syslog.pm
Criterion Covered Total %
condition 13 30 43.3


or 2 conditions

line l !l condition
30 1 0 $config{'access_log'} || $ENV{'MOJO_SYSLOG_ACCESS_LOG'} || 'v1'
49 3 0 $_[0]->helpers->timing->elapsed('Mojolicious::Plugin::Syslog') // 0
71 1 0 0 $ENV{'MOJO_SYSLOG_FACILITY'} || 8
73 1 0 $ENV{'MOJO_SYSLOG_LOGOPT'} || 'ndelay,pid'

or 3 conditions

line l !l&&r !l&&!r condition
21 0 1 3 $config->{'enable'} // $ENV{'MOJO_SYSLOG_ENABLE'}
4 0 0 ($config->{'enable'} // $ENV{'MOJO_SYSLOG_ENABLE'}) // $app->mode ne 'development'
24 3 1 0 $config->{'access_log'} // $ENV{'MOJO_SYSLOG_ACCESS_LOG'}
71 0 1 0 $config{'facility'} ||= $ENV{'MOJO_SYSLOG_FACILITY'} || 8
72 1 0 0 $ENV{'MOJO_SYSLOG_IDENT'} || $app->moniker
0 1 0 $config{'ident'} ||= $ENV{'MOJO_SYSLOG_IDENT'} || $app->moniker
73 0 1 0 $config{'logopt'} ||= $ENV{'MOJO_SYSLOG_LOGOPT'} || 'ndelay,pid'