blib/lib/WWW/Shopify/Liquid.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 27 | 22.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 0 | 0 | 10 | defined $_[1] and looks_like_number($_[1]) |
29 | 0 | 0 | 0 | ref $_[1] and ref $_[1] eq 'DateTime' |
208 | 0 | 0 | 0 | ref $item and $item->isa('WWW::Shopify::Model::Item') |
217 | 0 | 0 | 0 | $key eq 'metafields' and not $$item{'metafields'} |
226 | 0 | 0 | 0 | $$fields{$key}->is_one and $$fields{$key}->is_reference |
241 | 0 | 0 | 0 | $$fields{$key}->is_one and $$fields{$key}->is_own |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
17 | 0 | 0 | 170 | $@ or not $self->is_processed($return) |
0 | 8 | 162 | $@ or not $self->is_processed($return) or not defined $return | |
26 | 24 | 0 | 246 | !ref($_[1]) || ref $_[1] eq 'ARRAY' && int grep({not $_[0]->is_processed($_);} @{$_[1];}) == 0 || ref $_[1] eq 'HASH' || blessed($_[1]) && !(ref($_[1]) =~ /^WWW::Shopify::Liquid/) |