| blib/lib/WWW/Shopify/Liquid/Filter/JSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 12 | 3 | 6 | if (ref $self and ref $self eq 'ARRAY' and not &isweak($self)) { } |
| 1 | 6 | elsif (ref $self and ref $self eq 'HASH' and not &isweak($self)) { } | |
| 17 | 1 | 8 | defined $self && &blessed($self) && $self->isa('DateTime') ? : |
| 22 | 1 | 3 | if (defined $_[2] and not ref $_[2] and length $_[2] >= 2) |
| 24 | 1 | 0 | unless $@ |
| 26 | 0 | 3 | &blessed($_[2]) && $_[2]->isa('WWW::Shopify::Model::Item') ? : |
| 3 | 0 | $_[2] ? : | |
| 27 | 3 | 0 | defined $object && ref $object ? : |