Branch Coverage

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


line true false branch
15 0 359 unless defined $args->{'template'}
24 0 588 scalar @_ == 3 ? :
25 588 0 ref $class ? :
28 625 1405 if ($token =~ /$Template::Liquid::Utility::TagMatch/sx) { }
293 1112 elsif ($token =~ /$Template::Liquid::Utility::VarMatch/sx) { }
31 335 290 $package ? :
32 335 290 if (defined $call) { }
229 61 elsif ($s->can('end_tag') and $tag =~ $s->end_tag) { }
61 0 elsif ($s->conditional_tag and $tag =~ $s->conditional_tag) { }
42 203 132 if ($_tag->conditional_tag) { }
26 106 elsif ($_tag->end_tag) { }
96 66 98 !defined($args) ? :
120 364 1437 $nl ? :
132 507 794 ref $node ? :
133 1290 11 defined $rendering ? :