Branch Coverage

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


line true false branch
44 0 2 unless ($new_config)
51 1 1 if (-e $cf_path)
56 1 0 unless ($module)
63 0 0 if ($share_dir)
67 0 1 if ($temp_config_dir)
69 0 0 if (-e $cf_path)
78 1 0 if (not -e $cf_path) { }
99 0 1 unless $log->is_trace
111 1 2 unless $log->is_trace
120 0 1 unless $log->is_debug
130 0 1 unless $log->is_info
139 0 1 unless $log->is_warn
150 0 1 if (ref $next_arg) { }
156 0 1 unless $log->is_error
159 0 1 if ($options->{'show_callers'})
173 0 1 if (ref $next_arg) { }
179 0 1 unless $log->is_fatal
182 0 1 if ($options->{'show_callers'})
193 0 9 $category ? :
206 6 1 $has_sub ? :