Branch Coverage

blib/lib/Cake/View/TT.pm
Criterion Covered Total %
branch 23 42 54.7


line true false branch
154 0 1 unless $$options{'path'}
188 3 0 if ($$match{'from'} eq 'VAR') { }
191 2 1 if ($return)
201 0 0 if (DEBUG() and $@)
213 2 1 if (my $data = $$self{'data'}{$id}) { }
257 0 1 if (my $layout = $$self{'layout'})
264 1 0 ref $$self{'matches'} eq 'ARRAY' ? :
272 1 0 if (open my $fh, '<', $file) { }
282 0 4 if ($counter > 1000)
288 3 1 if ($code or $var) { }
0 1 elsif ($process) { }
1 0 elsif ($settings) { }
0 0 elsif ($include) { }
290 0 3 $code ? :
329 1 1 if ($m)
330 1 0 if ($m eq 'layout') { }
355 0 3 if ($val) { }
360 0 0 if $eval
367 3 0 $eval ? :
376 0 3 if ($var =~ /^\$/ or $var =~ /^\s*['"]/)
386 3 3 if ($match =~ /\(.*?\)$/) { }