Branch Coverage

blib/lib/WWW/Shopify/Liquid.pm
Criterion Covered Total %
branch 12 42 28.5


line true false branch
117 85 0 if $self->lexer
118 85 0 if $self->parser
119 85 0 if $self->optimizer
120 85 0 if $self->renderer
142 1801 170 if (not $_[1]->abstract)
144 9026 7204 if &blessed($_)
149 26191 20904 if &blessed($_)
154 11928 9520 if &blessed($_)
209 0 0 unless wantarray
224 0 0 unless ref $item and $item->isa('WWW::Shopify::Model::Item')
229 0 0 unless exists $fields->{$key}
230 0 0 if ($fields->{$key}->is_relation) { }
0 0 elsif (not ref($fields->{$key}) =~ /Date$/) { }
231 0 0 if ($fields->{$key}->is_many)
233 0 0 if $key eq 'metafields' and not $item->{'metafields'}
235 0 0 if (int @results) { }
242 0 0 if ($fields->{$key}->is_one and $fields->{$key}->is_reference)
243 0 0 if (defined $item->$key) { }
246 0 0 if (ref $item->$key) { }
257 0 0 $item->$key ? :
0 0 if $fields->{$key}->is_one and $fields->{$key}->is_own