Condition Coverage

blib/lib/Template/Liquid/Condition.pm
Criterion Covered Total %
condition 23 48 47.9


and 3 conditions

line !l l&&!r l&&r condition
115 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.
153 0 12 0 defined $r and not defined $l
169 0 0 0 $l && $r
190 8 2 5 $l && $r

or 3 conditions

line l !l&&r !l&&!r condition
30 146 0 129 defined $rval || defined $condition
79 272 7 0 $s->{'template'}{'context'}->get($s->{'lvalue'}) || $s->{'lvalue'}
80 275 0 4 $s->{'template'}{'context'}->get($s->{'rvalue'}) || $s->{'rvalue'}
140 6 2 8 $_[0]->gt || $_[0]->eq
161 0 0 0 $s->{'template'}{'context'}->get($s->{'lvalue'}) || $s->{'lvalue'}
162 0 0 0 $s->{'template'}{'context'}->get($s->{'rvalue'}) || $s->{'rvalue'}
174 0 0 0 $s->{'template'}{'context'}->get($s->{'lvalue'}) || $s->{'lvalue'}
175 0 0 0 $s->{'template'}{'context'}->get($s->{'rvalue'}) || $s->{'rvalue'}
182 0 0 0 $l || $r
197 11 11 21 $l || $r
203 388 0 28 defined $s->{'condition'} or defined $s->{'rvalue'}