Branch Coverage

blib/lib/RapidApp/Template/Access.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
47 0 0 unless +(shift())->{'_local_cache'}
275 0 1 if $self->get_template_vars_coderef
278 1 0 $self->template_admin_tpl($template) ? :
310 0 0 unless $c
312 0 0 if $uri_str eq './'
383 0 1 $self->template_non_admin_tpl($template) ? :
418 3 1 unless $self->$perm
421 0 1 if $self->$regex and not $template =~ $self->$regex
427 0 1 if $self->$code
441 0 4 if $self->get_template_format_coderef
445 0 4 if $template =~ /\.md$/i
448 2 2 if $template =~ /\.tt$/i
477 0 2 $format eq 'markdown' ? :