| blib/lib/App/Manoc/Logger.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 20 | 45.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 40 | 0 | 1 | scalar @_ == 1 ? : | 
| 43 | 0 | 1 | if 'Log::Log4perl'->initialized | 
| 45 | 0 | 1 | if ($ENV{'MANOC_SUPPRESS_LOG'}) | 
| 50 | 0 | 1 | if ($args{'debug'}) | 
| 56 | 1 | 0 | unless (defined $config_file and -f $config_file) | 
| 60 | 0 | 1 | if exists $ENV{'MANOC_CONFIG'} | 
| 62 | 1 | 0 | if -d '/etc' | 
| 66 | 2 | 0 | unless -f $file | 
| 72 | 0 | 1 | if (defined $config_file) { } | 
| 73 | 0 | 0 | unless -f $config_file |