Branch Coverage

blib/lib/Log/Log4perl/Shortcuts.pm
Criterion Covered Total %
branch 21 40 52.5


line true false branch
45 0 2 unless ($new_config)
52 1 1 if ($cf_path->exists)
57 1 0 unless ($module)
64 0 0 if ($share_dir)
68 0 1 if ($temp_config_dir)
70 0 0 if ($cf_path->exists)
79 1 0 if (not $cf_path->exists) { }
100 0 1 unless $log->is_trace
112 1 2 unless $log->is_trace
121 0 1 unless $log->is_debug
131 0 1 unless $log->is_info
140 0 1 unless $log->is_warn
151 0 1 if (ref $next_arg) { }
157 0 1 unless $log->is_error
160 0 1 if ($options->{'show_callers'})
174 0 1 if (ref $next_arg) { }
180 0 1 unless $log->is_fatal
183 0 1 if ($options->{'show_callers'})
194 0 9 $category ? :
207 6 1 $has_sub ? :