Branch Coverage

blib/lib/EntityModel/Template.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
79 0 0 if (defined(my $include = delete $args{'include_path'}))
80 0 0 unless ref $include
155 0 0 unless my $tmpl = 'Template'->new(%cfg)
168 0 0 unless $v
170 0 0 if not ref $v and $v =~ /^(\d+(?:\.\d*))$/
173 0 0 if ($delta < 0)
189 0 0 $m ? :
190 0 0 if $m
191 0 0 $unit != 1 ? :
195 0 0 if @p > 2
198 0 0 $neg ? :
209 0 0 unless $v
210 0 0 unless ($LONG_DATE_HASH{$v})
212 0 0 if ($v =~ /^(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?$/) { }
239 0 0 unless $v
240 0 0 unless ($SHORT_DATE_HASH{$v})
242 0 0 if ($v =~ /^(\d+)-(\d+)-(\d+)/) { }
253 0 0 if ($dt->day % 10 == 1 and $dt->day != 11) { }
0 0 elsif ($dt->day % 10 == 2 and $dt->day != 12) { }
0 0 elsif ($dt->day % 10 == 3 and $dt->day != 13) { }
273 0 0 unless $v
275 0 0 if ($v =~ /^(\d+)-(\d+)-(\d+)/) { }
292 0 0 unless $v
294 0 0 if ($v =~ /^(\d+)-(\d+)-(\d+)/) { }
311 0 0 unless $v
336 0 0 unless $tt->process($template, \%data, \$output)
344 0 0 unless $tt->process($tmpl, undef, \my($output))
360 0 0 unless $tt->process($template, $data, \$output)
390 0 0 if ($r) { }
391 0 0 if $r