Branch Coverage

lib/CGI/Application/Plugin/TmplInnerOuter.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
46 2 3 unless ($$self{'_tmpl'}{$name})
51 0 2 unless my $tmpl = get_tmpl($name, $self->_get_tmpl_default($name))
61 0 2 unless defined $default
73 0 3 if (defined $name)
75 0 3 unless $$self{'__tmpl_inner_name'} ||= $self->get_current_runmode
86 1 1 if ($name eq 'main.html' and not defined $$self{'_tmpl_default'}{'main.html'})
122 1 6 unless defined $val
139 0 2 unless defined $tmpl
145 0 12 unless defined $val
160 0 0 unless scalar @k
163 0 0 if ($neat_layout) { }