Branch Coverage

blib/lib/CGI/Application/Plugin/TemplateRunner.pm
Criterion Covered Total %
branch 28 38 73.6


line true false branch
21 1 4 if $path =~ m[/$]
23 0 5 unless ($path =~ /\.html$/)
36 0 11 if ref $base
37 0 11 unless $base
42 3 8 unless (-e "$base/$filename")
48 2 4 if (-e "$base/$tmp/$_")
53 2 2 defined $after ? :
54 4 0 if (-e "$base/$tmp/_default$after")
67 0 11 if $IPC::SharedCache::VERSION
78 11 0 if (-e "$base/$filename.pl")
80 0 11 if ($@) { }
104 5 6 if keys %extras
110 16 96 unless defined $prefix
112 11 101 if (ref $data eq 'CODE')
113 11 0 $defaults ? :
114 0 11 if ($@)
121 44 57 if (ref $data eq 'HASH')
128 47 10 if defined $data
129 0 57 if $@