Branch Coverage

blib/lib/MobaSiF/Template/Compiler.pm
Criterion Covered Total %
branch 0 168 0.0


line true false branch
55 0 0 if (ref $in) { }
60 0 0 unless open $fh, $in
88 0 0 if (not my $cmd = $1) { }
109 0 0 if ($cmd =~ /^\=((b|e|h|hn)\:)?/i) { }
0 0 elsif ($cmd =~ /^loop\(([^\)]+)\){$/i) { }
0 0 elsif ($cmd =~ /^(}els)?if\(([^\)]+)\){$/i) { }
0 0 elsif ($cmd =~ /^}else{$/i) { }
0 0 elsif ($cmd =~ /^}$/i) { }
0 0 elsif ($cmd =~ m[^(/)?qsa$]i) { }
112 0 0 if $o eq ''
115 0 0 if $o eq 'e'
116 0 0 if $o eq 'h'
117 0 0 if $o eq 'hn'
139 0 0 $cond =~ /\|/ ? :
143 0 0 if ($else)
151 0 0 if ($delim eq '\\&+') { }
186 0 0 $1 ? :
199 0 0 if (${$rTpl;} =~ /\$/)
208 0 0 if ($$raPart{'type'} == 253) { }
0 0 elsif ($$raPart{'type'} == 254) { }
220 0 0 if ($$raPart{'type'} == 4 or $$raPart{'type'} == 5) { }
0 0 elsif ($$raPart{'type'} == 3) { }
222 0 0 if ($parts[$$raPart{'onfalse'}]{'type'} == 253)
238 0 0 if ($$raPart{'type'} == 253) { }
0 0 elsif ($$raPart{'type'} == 254 or $$raPart{'type'} == 255) { }
244 0 0 if ($lv < 0)
249 0 0 if ($lv != 0)
257 0 0 if ($$raPart{'type'} == 4)
259 0 0 if ($cond_str =~ />(\=)?/) { }
0 0 elsif ($cond_str =~ /<(\=)?/) { }
0 0 elsif ($cond_str =~ /^\!/) { }
0 0 elsif ($cond_str =~ /(\!)?==?/) { }
263 0 0 $1 ? :
268 0 0 $1 ? :
276 0 0 $1 ? :
305 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 5) { }
0 0 elsif ($type == 3) { }
0 0 elsif ($type == 6) { }
0 0 elsif ($type == 253) { }
0 0 elsif ($type == 254) { }
0 0 elsif ($type == 255) { }
322 0 0 if ($type == 3) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 5) { }
342 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 3) { }
353 0 0 if ($$raPart{'condtyp'} == 0 or $$raPart{'condtyp'} == 1)
367 0 0 if ($out_file) { }
370 0 0 unless open $fh, ">$out_file"
381 0 0 if (exists $$rhStrPos{$str})
400 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 3) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 5) { }
0 0 elsif ($type == 6) { }
0 0 elsif ($type == 253) { }
0 0 elsif ($type == 254) { }
0 0 elsif ($type == 255) { }
458 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 3) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 5) { }
0 0 elsif ($type == 253) { }
0 0 elsif ($type == 254) { }
0 0 elsif ($type == 255) { }
465 0 0 if $$raPart{'opt'} & 1
466 0 0 if $$raPart{'opt'} & 2
467 0 0 if $$raPart{'opt'} & 4
468 0 0 scalar @opt ? :
478 0 0 if $$raPart{'condtyp'} == 0
479 0 0 if $$raPart{'condtyp'} == 1
480 0 0 if $$raPart{'condtyp'} == 2
481 0 0 if $$raPart{'condtyp'} == 4
482 0 0 if $$raPart{'condtyp'} == 3
483 0 0 if $$raPart{'condtyp'} == 5
486 0 0 $$raPart{'condtyp'} == 0 || $$raPart{'condtyp'} == 1 ? :
512 0 0 if $str =~ /$delim/