Branch Coverage

blib/lib/WWW/Shopify/Liquid.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
17 8 162 if $@ or not $self->is_processed($return) or not defined $return
28 10 0 if defined $_[1] and looks_like_number($_[1])
29 0 0 if ref $_[1] and ref $_[1] eq 'DateTime'
157 322 46 if (not $_[1]->abstract)
208 0 0 unless ref $item and $item->isa('WWW::Shopify::Model::Item')
213 0 0 unless exists $$fields{$key}
214 0 0 if ($$fields{$key}->is_relation) { }
0 0 elsif (not ref($$fields{$key}) =~ /Date$/) { }
215 0 0 if ($$fields{$key}->is_many)
217 0 0 if $key eq 'metafields' and not $$item{'metafields'}
219 0 0 if (int @results) { }
226 0 0 if ($$fields{$key}->is_one and $$fields{$key}->is_reference)
227 0 0 if (defined $item->$key) { }
230 0 0 if (ref $item->$key) { }
241 0 0 $item->$key ? :
0 0 if $$fields{$key}->is_one and $$fields{$key}->is_own