Branch Coverage

blib/lib/JLogger/Config.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
28 0 0 unless open my $fh, '<:encoding(UTF-8)', $config_file
46 1 0 if exists $config->{$element_key}
52 2 3 if (exists $config->{$elements_key})
62 4 12 if ($ref eq 'HASH') { }
5 7 elsif ($ref eq 'ARRAY') { }
79 1 2 if ($ref eq '') { }
2 0 elsif ($ref eq 'HASH') { }