Branch Coverage

blib/lib/WWW/Shopify/Liquid/Tag/Capture.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
12 0 14 $self->is_processed($_) ? :
13 0 13 if $action eq 'optimize' and int grep({not $self->is_processed($_);} @vars) > 0
17 0 1 if ref $inner_hash and ref $inner_hash eq 'HASH' and not exists $$inner_hash{$vars[$_]} and $action eq 'optimize'
18 0 1 if (&looks_like_number($vars[$_]) and ref $inner_hash and ref $inner_hash eq 'ARRAY') { }
19 0 0 unless defined $$inner_hash[$vars[$_]]
22 0 1 unless exists $$inner_hash{$vars[$_]}
29 0 13 unless $self->is_processed($result)
32 10 3 if ($action eq 'optimize')
35 2 8 if $pipeline->remove_assignment and not defined $pipeline->conditional_state
38 1 2 if (&looks_like_number($vars[-1]) and ref $inner_hash and ref $inner_hash eq 'ARRAY') { }
49 0 18 unless $self->{'arguments'}[0]->isa('WWW::Shopify::Liquid::Token::Variable')