Condition Coverage

blib/lib/WWW/Shopify/Liquid/Tag/Assign.pm
Criterion Covered Total %
condition 19 39 48.7


and 3 conditions

line !l l&&!r l&&r condition
22 53 17 0 $action eq 'optimize' and int grep({not $self->is_processed($_);} @vars) > 0
27 0 1 7 ref $inner_hash and ref $inner_hash eq 'HASH'
1 6 1 ref $inner_hash and ref $inner_hash eq 'HASH' and not exists $$inner_hash{$vars[$_]}
7 1 0 ref $inner_hash and ref $inner_hash eq 'HASH' and not exists $$inner_hash{$vars[$_]} and $action eq 'optimize'
28 7 0 1 &looks_like_number($vars[$_]) and ref $inner_hash
7 0 1 &looks_like_number($vars[$_]) and ref $inner_hash and ref $inner_hash eq 'ARRAY'
54 16 0 1 $pipeline->remove_assignment and not defined $pipeline->conditional_state
62 50 0 3 &looks_like_number($vars[-1]) and ref $inner_hash
50 0 3 &looks_like_number($vars[-1]) and ref $inner_hash and ref $inner_hash eq 'ARRAY'

or 2 conditions

line l !l condition
64 0 0 $result || 0
66 0 0 $result || 0
68 0 0 $result || 0
76 0 0 $result || 0
78 0 0 $result || 0
80 0 0 $result || 0