Condition Coverage

blib/lib/Apache/Voodoo/Engine.pm
Criterion Covered Total %
condition 0 49 0.0


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 0 blessed($_[0]) and $_[0]->can('rethrow')
178 0 0 0 defined $self->_app and defined $$self{'session_handler'}
323 0 0 0 defined $$app{'controllers'}{$$c[0]} and $$app{'controllers'}{$$c[0]}->can($$c[1])
348 0 0 0 defined $template_params && ref $return
0 0 0 ref $return eq 'HASH' and ref $template_params eq 'HASH'
0 0 0 ref $return eq 'ARRAY' and ref $template_params eq 'ARRAY'
384 0 0 0 defined $$self{'p'}{'_view_'} and defined $self->_app->{'views'}{$$self{'p'}{'_view_'}}
0 0 0 defined $$self{'p'}{'template_conf'}{'default_view'} and defined $self->_app->{'views'}{$$self{'p'}{'template_conf'}{'default_view'}}
400 0 0 0 blessed $content and $content->can('rethrow')
435 0 0 0 defined $app and $id ne $app
495 0 0 0 $sr ne '/' and $uri =~ m[^/]o

or 2 conditions

line l !l condition
317 0 0 $$template_conf{'pre_include'} || ''
0 0 $$template_conf{'post_include'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
40 0 0 0 $opts{'constants'} || 'Apache::Voodoo::Constants'->new
87 0 0 0 shift() || $$self{'mp'}->get_app_id
216 0 0 0 not defined $session_id or $session->id ne $session_id
249 0 0 0 not defined $$session{'history'} or $$session{'history'}[0]{'uri'} ne $uri