Branch Coverage

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


line true false branch
14 0 0 unless $self->{'arguments'}[0]->isa('WWW::Shopify::Liquid::Operator::In')
17 0 0 unless $self->{'arguments'}[0]{'operands'}[0] and $self->{'arguments'}[0]{'operands'}[0]->isa('WWW::Shopify::Liquid::Token::Variable') and int @{$self->{'arguments'}[0]{'operands'}[0]{'core'};} == 1 and $self->{'arguments'}[0]{'operands'}[0]{'core'}[0]->isa('WWW::Shopify::Liquid::Token::String')
44 0 0 unless $token
46 0 0 if (int @tokens > 0)
47 0 0 if int @tokens > 1 or $tokens[0][0]->tag ne 'else'
69 0 0 if (my $exp = $@)
70 0 0 if (defined $exp and &blessed($exp) and $exp->isa('WWW::Shopify::Liquid::Exception::Control')) { }
71 0 0 if $exp->initial_render and int @{$exp->initial_render;} > 0
72 0 0 if ($exp->isa('WWW::Shopify::Liquid::Exception::Control::Break')) { }
0 0 elsif ($exp->isa('WWW::Shopify::Liquid::Exception::Control::Continue')) { }
81 0 0 unless $self->is_processed($content)
85 0 0 if $all_processed
91 0 0 &blessed($result) && $result->isa('WWW::Shopify::Liquid::Operator::Concatenate') ? :
101 0 0 if $start > $end
110 0 0 $self->is_processed($self->{'contents'}) ? :
112 0 0 if (my $exp = $@)
113 0 0 if (defined $exp and &blessed($exp) and $exp->isa('WWW::Shopify::Liquid::Exception::Control')) { }
114 0 0 if $exp->initial_render and int @{$exp->initial_render;} > 0
115 0 0 if ($exp->isa('WWW::Shopify::Liquid::Exception::Control::Break')) { }
0 0 elsif ($exp->isa('WWW::Shopify::Liquid::Exception::Control::Continue')) { }
126 0 0 if int @parts == 1
137 0 0 unless $self->is_processed($op2)
139 0 0 if $self->is_processed($op2) and $action eq 'optimize'
140 0 0 if not $self->is_processed($op2) and $action eq 'optimize'
141 0 0 if not $self->is_processed($op2) and $action eq 'render'
142 0 0 if ref $op2 eq 'HASH'
143 0 0 defined $self->{'false_path'} ? :
0 0 if ref $op2 ne 'ARRAY' or int @$op2 == 0
144 0 0 unless ref $op2 eq 'ARRAY'
151 0 0 if $_->isa('WWW::Shopify::Liquid::Token::Variable::Named')
152 0 0 if $limit_arg
153 0 0 unless $self->is_processed($limit_result)
154 0 0 if $limit_result and ref $limit_result and ref $limit_result eq 'HASH' and &looks_like_number($limit_result->{'limit'})
157 0 0 if $_->isa('WWW::Shopify::Liquid::Token::Variable::Named')
158 0 0 if $offset_arg
159 0 0 if $offset_result and ref $offset_result and ref $offset_result eq 'HASH' and &looks_like_number($offset_result->{'offset'})