blib/lib/Template/Liquid/Tag/For.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 21 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
81 | 9 | 5 | 0 | $sorted ne "key" and $sorted ne "value" |
91 | 14 | 0 | defined $sorted and ($sorted ne "key" and $sorted ne "value") | |
103 | 17 | 0 | 13 | $Template::Liquid::Tag::For::a->{$sorted} =~ /^\d+$/o && $Template::Liquid::Tag::For::b->{$sorted} =~ /^\d+$/o |
109 | 0 | 0 | 24 | $a =~ /^\d+$/ && $b =~ /^\d+$/ |
112 | 0 | 1 | 103 | defined $list && $list && @$list |
line | l | !l | condition |
---|---|---|---|
40 | 54 | 49 | $3 || '' |
53 | 51 | 52 | $attr || '' |
78 | 9 | 5 | $s->{'template'}{'context'}->get($attr->{'sorted'}) || $attr->{'sorted'} || 'key' |