Branch Coverage

blib/lib/Template/Liquid/Document.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
15 0 369 unless defined $args->{'template'}
24 0 608 scalar @_ == 3 ? :
25 608 0 ref $class ? :
28 649 1441 if ($token =~ /$Template::Liquid::Utility::TagMatch/sx) { }
295 1146 elsif ($token =~ /$Template::Liquid::Utility::VarMatch/sx) { }
31 347 302 $package ? :
32 347 302 if (defined $call) { }
239 63 elsif ($s->can('end_tag') and $tag =~ $s->end_tag) { }
63 0 elsif ($s->conditional_tag and $tag =~ $s->conditional_tag) { }
42 213 134 if ($_tag->conditional_tag) { }
26 108 elsif ($_tag->end_tag) { }
96 66 98 !defined($args) ? :
120 372 1479 $nl ? :
132 521 826 ref $node ? :
133 1336 11 defined $rendering ? :