Branch Coverage

lib/ControlFreak/Logger.pm
Criterion Covered Total %
branch 7 24 29.1


line true false branch
22 0 14 if (my $config_file = $logger->config_file) { }
23 0 0 unless (-e $config_file)
36 0 0 unless ($logger->config_file)
77 29 29 $type eq 'err' ? :
80 56 9 unless defined $msg
81 9 0 if $msg
95 9 0 if $msg
114 0 0 $type eq 'err' ? :
117 0 0 if $msg
125 0 0 $type eq 'err' ? :
131 0 0 unless my $configfile = _STRING(shift())
140 0 0 unless $what or $what eq 'configfile'