Branch Coverage

blib/lib/Log/Handler/Config.pm
Criterion Covered Total %
branch 13 30 43.3


line true false branch
369 0 4 if (ref $config ne 'HASH')
382 2 3 if ($ref eq 'HASH') { }
3 0 elsif ($ref eq 'ARRAY') { }
403 4 0 if (ref $params->{'config'}) { }
0 0 elsif ($params->{'config'}) { }
407 0 0 if ($@)
413 0 4 if ($params->{'section'})
425 1 1 if (exists $config->{'default'})
430 1 2 if $alias eq 'default'
433 1 1 if (ref $param ne 'HASH')
468 0 4 if ($ref ne 'HASH')
469 0 0 if ($ref eq 'ARRAY')
473 0 0 unless ($options{'plugin'})
474 0 0 if ($options{'config'} =~ /\.ya{0,1}ml\z/) { }
0 0 elsif ($options{'config'} =~ /\.(?:props|jc(?:onf|fg))\z/) { }