Branch Coverage

blib/lib/Apache/Voodoo/Application.pm
Criterion Covered Total %
branch 22 44 50.0


line true false branch
27 1 3 unless defined $$self{'id'}
54 0 3 unless ($initial or $$self{'parser'}->changed)
72 0 3 if (defined $old_ns and $old_ns != $config->old_ns)
89 2 0 unless (exists $old_c{$_})
104 3 0 unless (defined $$self{'views'}{'HTML'})
111 3 0 unless (defined $$self{'views'}{'JSON'})
126 0 1 if ($@)
137 0 7 if ($@)
148 0 3 if ($@)
158 2 1 if ($@)
166 0 3 if ($@)
177 0 0 if (defined $$self{'controllers'}{$uri}) { }
196 0 0 if (exists $$template_conf{$uri})
202 0 0 if ($uri =~ /^$_$/)
220 3 0 unless (exists $$old{$_})
245 1 1 $ns eq 'v' ? :
1 2 $ns eq 'm' ? :
267 3 2 unless ($ns eq 'c' and $$self{'parser'}->old_ns)
274 5 0 if ($$self{'parser'}->config->{'dynamic_loading'}) { }
283 0 0 if (ref $obj eq 'Apache::Voodoo::Zombie')
295 5 0 unless $$self{'debug'}
297 0 0 if (ref $_[0]) { }