Condition Coverage

blib/lib/Template/Liquid/Filters.pm
Criterion Covered Total %
condition 35 57 61.4


and 3 conditions

line !l l&&!r l&&r condition
281 1 5 1 ref $x ne "DateTime" and $x =~ /\D/
290 5 0 2 ref $x and $x->can("strftime")
585 1 0 10 $x =~ /^[\+-]?(\d*\.)?\d+?$/o && $y =~ /^[\+-]?(\d*\.)?\d+?$/o
652 1 0 6 $x =~ /^[\+-]?(\d*\.)?\d+?$/o && $y =~ /^[\+-]?(\d*\.)?\d+?$/o
916 1 0 0 ref $x eq "HASH" and defined $y

or 2 conditions

line l !l condition
360 0 6 $_x //= ""
361 2 4 $_y //= ""
362 5 1 $_r //= ""
584 11 0 $x ||= 0
651 7 0 $x ||= 0
787 2 4 $y or 0
1031 1 4 $_x //= ""
1032 1 4 $_y //= ""
1033 1 4 $_r //= ""

or 3 conditions

line l !l&&r !l&&!r condition
280 1 2 4 lc $x eq "now" or lc $x eq "today"
366 0 2 4 $_lx || $_ly
882 4 0 11 $a =~ /\D/ || $b =~ /\D/
886 0 0 0 $a =~ /\D/ || $b =~ /\D/
915 0 0 0 $Template::Liquid::Filters::a->{$y} =~ /\D/ || $Template::Liquid::Filters::b->{$y} =~ /\D/
920 5 0 0 $a =~ /\D/ || $b =~ /\D/
925 0 0 0 $a =~ /\D/ || $b =~ /\D/
1037 2 0 3 $_lx || $_ly || $_lr