Branch Coverage

blib/lib/CGI/Application/Plugin/Config/Any.pm
Criterion Covered Total %
branch 37 56 66.0


line true false branch
169 0 3 if ($param and $param =~ /^(.*)\.(.*)$/)
175 0 3 if $CGI::Application::Plugin::Config::Any::DEBUG
281 0 1 if $CGI::Application::Plugin::Config::Any::DEBUG
304 0 1 unless $name
306 0 1 if $CGI::Application::Plugin::Config::Any::DEBUG
337 0 1 if $CGI::Application::Plugin::Config::Any::DEBUG
342 1 0 if defined wantarray
409 1 4 unless ($$self{$prefix . 'CONFIG_CONFIG'})
416 2 3 if (not $$self{$prefix . 'CONFIG_CONFIG'}{$name}) { }
418 0 2 if $CGI::Application::Plugin::Config::Any::DEBUG
423 1 1 if (exists $$self{$prefix . 'CONFIG_NAMES'}{$name})
429 2 1 if (exists $$this{$_})
437 0 2 if ($$self{$prefix . 'CONFIG_FILES'} and ref $$self{$prefix . 'CONFIG_FILES'} ne 'ARRAY')
452 0 2 if $CGI::Application::Plugin::Config::Any::DEBUG
463 0 2 if $CGI::Application::Plugin::Config::Any::DEBUG
487 1 4 if ($args{'section'} and not $args{'param'})
489 0 1 if $CGI::Application::Plugin::Config::Any::DEBUG
498 3 1 if ($args{'param'})
504 2 1 if (exists $config{$args{'param'}}) { }
0 1 elsif ($args{'section'} and $config{$args{'section'}} and $config{$args{'section'}}{$args{'param'}}) { }
514 1 2 unless (defined $value)
515 0 1 if $DEBUG
541 2 5 unless (ref $config eq 'HASH')
545 1 4 if (exists $$config{$key})
546 0 1 if $CGI::Application::Plugin::Config::Any::DEBUG
555 2 4 if $value
605 0 0 if (@_)
606 0 0 if (scalar(@_) % 2 == 2) { }