blib/lib/Template/Liquid/Tag/For.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 24 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
81 | 9 | 5 | 0 | $sorted ne "key" and $sorted ne "value" |
93 | 14 | 0 | defined $sorted and ($sorted ne "key" and $sorted ne "value") | |
103 | 18 | 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 | 104 | 2 | ref $list eq "ARRAY" and not @$list |
0 | 0 | 104 | defined $list && $list |
line | l | !l | condition |
---|---|---|---|
40 | 54 | 51 | $3 || '' |
53 | 51 | 54 | $attr || '' |
78 | 9 | 5 | $s->{'template'}{'context'}->get($attr->{'sorted'}) || $attr->{'sorted'} || 'key' |