Branch Coverage

blib/lib/WWW/Shopify/Liquid/Tag/Assign.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
15 0 0 unless $self->{'arguments'}[0]->isa('WWW::Shopify::Liquid::Operator::Assignment')
17 0 0 unless $self->{'arguments'}[0]{'operands'}[0]->isa('WWW::Shopify::Liquid::Token::Variable')
21 0 0 $self->is_processed($_) ? :
22 0 0 if $action eq 'optimize' and int grep({not $self->is_processed($_);} @vars) > 0
27 0 0 if ref $inner_hash and ref $inner_hash eq 'HASH' and not exists $$inner_hash{$vars[$_]} and $action eq 'optimize'
28 0 0 if (&looks_like_number($vars[$_]) and ref $inner_hash and ref $inner_hash eq 'ARRAY') { }
29 0 0 unless defined $$inner_hash[$vars[$_]]
32 0 0 unless exists $$inner_hash{$vars[$_]}
39 0 0 unless $self->is_processed($result)
40 0 0 unless $self->is_processed($result)
43 0 0 if ($action eq 'optimize')
50 0 0 if $pipeline->remove_assignment and not defined $pipeline->conditional_state
55 0 0 if (&looks_like_number($vars[-1]) and ref $inner_hash and ref $inner_hash eq 'ARRAY') { }
56 0 0 if ($assignment->isa('WWW::Shopify::Liquid::Operator::PlusAssignment')) { }
0 0 elsif ($assignment->isa('WWW::Shopify::Liquid::Operator::MinusAssignment')) { }
0 0 elsif ($assignment->isa('WWW::Shopify::Liquid::Operator::MultiplyAssignment')) { }
0 0 elsif ($assignment->isa('WWW::Shopify::Liquid::Operator::DivideAssignment')) { }
68 0 0 if ($assignment->isa('WWW::Shopify::Liquid::Operator::PlusAssignment')) { }
0 0 elsif ($assignment->isa('WWW::Shopify::Liquid::Operator::MinusAssignment')) { }
0 0 elsif ($assignment->isa('WWW::Shopify::Liquid::Operator::MultiplyAssignment')) { }
0 0 elsif ($assignment->isa('WWW::Shopify::Liquid::Operator::DivideAssignment')) { }