blib/lib/Template/Liquid/Tag/Increment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 12 | unless defined $args->{'template'} |
23 | 0 | 12 | unless defined $args->{'parent'} |
30 | 0 | 12 | if defined $args->{'attrs'} and not $args->{'attrs'} =~ /\S$/o |
32 | 0 | 12 | if ($args->{'attrs'} =~ /^\s*(.+?)\s*\:\s*(.*)$/o) { } |
12 | 0 | elsif ($args->{'attrs'} =~ /^(.+)$/o) { } | |
34 | 0 | 0 | if $name =~ /^(['"])(.+)\1$/ |
53 | 8 | 4 | if (defined $args->{'template'}{'document'}{'_INCREMENTS'}{$name}) { } |
83 | 0 | 12 | ref $node ? : |