Branch Coverage

blib/lib/Apache/Voodoo/Application/ConfigParser.pm
Criterion Covered Total %
branch 28 32 87.5


line true false branch
31 7 1 if (defined $$self{'id'}) { }
77 2 4 defined $conf{'session_timeout'} && $conf{'session_timeout'} =~ /^\d+$/ ? :
79 2 4 defined $conf{'upload_size_max'} && $conf{'upload_size_max'} =~ /^\d+$/ ? :
83 2 4 $conf{'https_cookies'} ? :
95 2 4 if (defined $conf{'devel_mode'}) { }
96 2 0 if ($conf{'devel_mode'}) { }
110 2 2 defined $conf{'halt_on_errors'} ? :
113 4 2 if ($conf{'dynamic_loading'})
117 4 2 if (defined $conf{'database'}) { }
119 2 2 if (ref $conf{'database'} eq 'ARRAY') { }
129 4 2 unless (ref $$_{'extra'} eq 'HASH')
154 2 4 if ($conf{'controllers'}) { }
2 2 elsif ($conf{'modules'}) { }
176 4 2 unless (defined $$self{'template_conf'}{'default'})
192 0 6 if (defined $conf{'themes'} and $conf{'themes'}{'use_themes'} == 1)
193 0 0 unless (scalar @{$conf{'themes'}{'theme'};})