Branch Coverage

blib/lib/Ananke/Template.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
17 0 0 if $to_file == 1
40 0 0 if ($to_file == 1)
61 0 0 if $@
63 0 0 if $$self{'TO_RETURN'}
76 0 0 if ($$self{'TO_FILE'}) { }
99 0 0 if ($fdata =~ s/^(.*?)?(?:$Tstart\s?(.*?)\s?$Tend)//sx) { }
0 0 elsif ($fdata =~ s/^(.*)$//sx) { }
102 0 0 if $t[1] =~ /^[\n\s]+$/
108 0 0 if ($t[1])
116 0 0 if ($t[2] =~ /^(IF|ELSIF|UNLESS)\s+(.*)$/i) { }
0 0 elsif ($t[2] =~ /(FOR)\s(.*)/) { }
0 0 elsif ($t[2] =~ /(FOREACH) (.*) = (.*)/i) { }
0 0 elsif ($t[2] eq 'END') { }
0 0 elsif ($t[2] eq 'ELSE') { }
0 0 elsif ($t[2] =~ /^INCLUDE\s+(.*)$/) { }
0 0 elsif ($t[2] =~ /(\w+)\.(\w+).?(\w+)?/) { }
0 0 elsif ($t[2] =~ /^\w$/) { }
0 0 elsif ($t[2] =~ /^([\w\+\-]+)\s?([\=\>\<\!]+)?\s?[\"]?(.*)?[\"]?$/) { }
121 0 0 if $t[3] eq 'elsif'
138 0 0 if ($t[6] =~ /(\w+)\.(\w+).?(\w+)?/) { }
0 0 elsif ($t[6] =~ /^([\d]+)$/) { }
0 0 elsif ($t[6] =~ /^(\w+)$/) { }
0 0 elsif ($t[6] =~ /^([\w\"\']+)$/) { }
141 0 0 if $3
170 0 0 if ($t[2] =~ m[\s(eq|ne)\s/])
171 0 0 if ($1 eq 'eq') { }
0 0 elsif ($1 eq 'ne') { }
190 0 0 if ($t[4] =~ /^[0-9]+$/) { }
0 0 elsif ($t[4] =~ /^(\w+)\.(\w+)$/) { }
222 0 0 if (ref $$vars{$t[5]} eq 'ARRAY') { }
0 0 elsif ($t[5] =~ /^(.*)\.(.*)$/) { }
258 0 0 if (-f $$self{'TEMPL_DIR'} . '/' . $t[3]) { }
269 0 0 if $3
288 0 0 if $t[5] =~ /"$/
291 0 0 if ($t[3] and not $t[5]) { }
0 0 elsif ($t[3] and $t[5]) { }
294 0 0 if ($t[3] =~ /^\w+$/) { }
0 0 elsif ($t[3] =~ /^[\w\+\-]+$/) { }
322 0 0 if $$self{'TO_FILE'}
323 0 0 if $$self{'TO_RETURN'}
332 0 0 if ($var =~ /^([\$\@\%])(.*)?$/)
336 0 0 if ($t[1] eq '@') { }
0 0 elsif ($t[1] eq '$' and $t[2] =~ /^([\w\+]+)([\-\>]+)?([\w\{\}]+)?/g) { }
339 0 0 if ($$_{'var'} eq '@' . $t[2])
342 0 0 if $t
358 0 0 if ($$_{'var'} eq '$' . $t[3])
365 0 0 if $t
387 0 0 if (open FH, $templ_path) { }