Condition Coverage

blib/lib/Template/Liquid/Condition.pm
Criterion Covered Total %
condition 20 45 44.4


and 3 conditions

line !l l&&!r l&&r condition
112 2 0 4 exists $temp{$key} and defined $l->{$key} eq defined $temp{$key}
2 2 2 exists $temp{$key} and defined $l->{$key} eq defined $temp{$key} and defined $temp{$key} ? _equal($temp{$key}, $l->{$key}) : Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018.
150 0 12 0 defined $r and not defined $l
166 0 0 0 $l && $r
187 8 2 5 $l && $r

or 3 conditions

line l !l&&r !l&&!r condition
29 138 0 127 defined $rval || defined $condition
76 257 6 0 $s->{'template'}{'context'}->get($s->{'lvalue'}) || $s->{'lvalue'}
77 259 0 4 $s->{'template'}{'context'}->get($s->{'rvalue'}) || $s->{'rvalue'}
158 0 0 0 $s->{'template'}{'context'}->get($s->{'lvalue'}) || $s->{'lvalue'}
159 0 0 0 $s->{'template'}{'context'}->get($s->{'rvalue'}) || $s->{'rvalue'}
171 0 0 0 $s->{'template'}{'context'}->get($s->{'lvalue'}) || $s->{'lvalue'}
172 0 0 0 $s->{'template'}{'context'}->get($s->{'rvalue'}) || $s->{'rvalue'}
179 0 0 0 $l || $r
194 11 11 21 $l || $r
200 378 0 28 defined $s->{'condition'} or defined $s->{'rvalue'}