Condition Coverage

blib/lib/WWW/Shopify/Liquid/Pipeline.pm
Criterion Covered Total %
condition 13 30 43.3


and 3 conditions

line !l l&&!r l&&r condition
9 9207 341 0 $_[1]->arity eq 'unary' and $_[1]->fixness eq 'infix'
36 5 0 1 &blessed($indices) and $indices->isa('WWW::Shopify::Liquid::Token::Variable')
43 1 0 0 &looks_like_number($vars[$_]) and ref $inner_hash
1 0 0 &looks_like_number($vars[$_]) and ref $inner_hash and ref $inner_hash eq 'ARRAY'
50 1 0 0 &blessed($inner_hash) and $inner_hash->isa('WWW::Shopify::Liquid::Resolver')
61 6 0 0 &looks_like_number($vars[-1]) and ref $inner_hash
6 0 0 &looks_like_number($vars[-1]) and ref $inner_hash and ref $inner_hash eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
28 236 0 8123 !ref($_[1]) || ref $_[1] eq 'ARRAY' && int grep({not $_[0]->is_processed($_);} @{$_[1];}) == 0 || ref $_[1] eq 'HASH' && int grep({not $_[0]->is_processed($_[1]{$_});} keys %{$_[1];}) == 0 || &blessed($_[1]) && !(ref($_[1]) =~ /^WWW::Shopify::Liquid/) && !$_[1]->isa('WWW::Shopify::Liquid::Element')
62 0 0 0 int @$inner_hash > $vars[-1] or not $static
64 5 1 0 exists $$inner_hash{$vars[-1]} or not $static