Branch Coverage

blib/lib/CGI/okTemplate.pm
Criterion Covered Total %
branch 23 44 52.2


line true false branch
43 0 1 if $$self{'___params'}{'Debug'}
44 1 0 unless $$self{'___params'}{'BlockTag'}
45 0 1 if ($$self{'___params'}{'RootDir'}) { }
51 0 1 unless -d $$self{'___params'}{'RootDir'}
52 0 1 if $$self{'___params'}{'File'}
61 0 1 unless ($file)
65 1 0 unless ('File::Spec'->file_name_is_absolute($file))
70 0 1 unless -r $file
72 0 1 unless (___under_root($$self{'___params'}{'RootDir'}, $file))
97 4 0 unless ('File::Spec'->file_name_is_absolute($include_filename))
101 0 4 if (not ___under_root($root_path, $include_filename) && -r $include_filename) { }
103 0 0 if ($debug)
129 0 32 if ($path[$i] eq 'File::Spec'->updir)
130 0 0 if ($i) { }
137 0 32 if ($path[$i + 1] eq 'File::Spec'->updir)
169 1 0 unless $$self{'___params'}{'NoClean'}
181 4 5 if ($text =~ m[(.*?)]s) { }
206 4 7 if (ref $$data{$key}) { }
213 4 6 if ($text_level =~ //s) { }
219 0 5 if $debug
221 0 5 if $debug
230 7 0 exists $data{$1} ? :