blib/lib/Template/Liquid/Tag/Case.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 11 | unless defined $args->{'template'} |
23 | 0 | 11 | unless defined $args->{'parent'} |
30 | 0 | 11 | unless defined $args->{'attrs'} |
31 | 0 | 11 | unless ($args->{'attrs'} =~ /\S$/o) |
60 | 0 | 26 | unless defined $args->{'template'} |
66 | 0 | 26 | unless defined $args->{'parent'} |
73 | 0 | 26 | if not defined $args->{'attrs'} and $args->{'tag_name'} eq "when" |
74 | 23 | 3 | if ($args->{'tag_name'} eq "when") |
93 | 26 | 0 | if scalar @{$s->{'blocks'};} |
100 | 11 | 15 | if $s->{'first_block'}++ == 0 |