Condition Coverage

blib/lib/WWW/Shopify/Liquid/Tag/Capture.pm
Criterion Covered Total %
condition 13 27 48.1


and 3 conditions

line !l l&&!r l&&r condition
13 3 10 0 $action eq 'optimize' and int grep({not $self->is_processed($_);} @vars) > 0
17 0 0 1 ref $inner_hash and ref $inner_hash eq 'HASH'
0 1 0 ref $inner_hash and ref $inner_hash eq 'HASH' and not exists $$inner_hash{$vars[$_]}
1 0 0 ref $inner_hash and ref $inner_hash eq 'HASH' and not exists $$inner_hash{$vars[$_]} and $action eq 'optimize'
18 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'
35 8 0 2 $pipeline->remove_assignment and not defined $pipeline->conditional_state
38 2 0 1 &looks_like_number($vars[-1]) and ref $inner_hash
2 0 1 &looks_like_number($vars[-1]) and ref $inner_hash and ref $inner_hash eq 'ARRAY'