Branch Coverage

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


line true false branch
9 0 9548 if $_[1]->arity eq 'unary' and $_[1]->fixness eq 'infix'
15 0 0 if defined $_[1]
16 43 3960 if @_ > 1
18 340 73 if (defined $_[1])
36 1 5 if (&blessed($indices) and $indices->isa('WWW::Shopify::Liquid::Token::Variable'))
43 0 1 if (&looks_like_number($vars[$_]) and ref $inner_hash and ref $inner_hash eq 'ARRAY') { }
44 0 0 unless (defined $$inner_hash[$vars[$_]])
45 0 0 if $static
50 0 1 if (&blessed($inner_hash) and $inner_hash->isa('WWW::Shopify::Liquid::Resolver')) { }
53 0 1 unless (exists $$inner_hash{$vars[$_]})
54 0 0 if $static
61 0 6 if (&looks_like_number($vars[-1]) and ref $inner_hash and ref $inner_hash eq 'ARRAY') { }
62 0 0 if int @$inner_hash > $vars[-1] or not $static
64 6 0 if exists $$inner_hash{$vars[-1]} or not $static
69 0 177 if @_ > 1