Branch Coverage

blib/lib/CGI/Application/Plugin/Config/Context.pm
Criterion Covered Total %
branch 38 48 79.1


line true false branch
463 76 24 if (defined $conf_name) { }
465 28 48 unless (exists $$self{$CGIAPP_Namespace}{'__NAMED_CONFIGS'}{$conf_name})
473 12 12 unless (exists $$self{$CGIAPP_Namespace}{'__DEFAULT_CONFIG'})
629 0 0 unless ($config or $file or $string)
633 1 37 exists $args{'match_sections'} ? :
634 16 22 exists $args{'driver_options'} ? :
635 10 28 exists $args{'cache_config_files'} ? :
636 8 30 exists $args{'stat_config'} ? :
637 0 38 exists $args{'nesting_depth'} ? :
638 3 35 exists $args{'lower_case_names'} ? :
640 1 37 exists $args{'site_var'} ? :
641 2 36 exists $args{'site_section_name'} ? :
647 0 38 if (keys %args)
651 37 1 unless (@$match_sections)
702 3 25 if wantarray
722 0 16 if wantarray
742 13 1 if (@_) { }
781 26 11 if (defined $name) { }
796 1 2 if (defined $name) { }
797 1 0 if (exists $Current_Context_Config{$name}) { }
808 1 2 if wantarray
817 0 1 if (defined $name) { }
818 0 0 if (exists $Current_Raw_Config{$name}) { }
829 1 0 if wantarray