Condition Coverage

blib/lib/WWW/Shopify/Liquid/Element.pm
Criterion Covered Total %
condition 23 42 54.7


and 3 conditions

line !l l&&!r l&&r condition
24 2611 6 3 $renderer->state && $renderer->state->{'values'}{$_}
27 0 0 5 &blessed($exp) and $exp->isa('WWW::Shopify::Liquid::Exception::Control::Pause')
66 5580 60 4 $renderer->state and exists $renderer->state->{'values'}{$self}
70 2 3 26 &blessed($exp) and $exp->isa('WWW::Shopify::Liquid::Exception::Control')
73 0 0 0 &blessed($exp) and $exp->isa('WWW::Shopify::Liquid::Exception::Renderer::Wrapped')
76 0 0 0 &blessed($exp) && $exp->can('english')
87 0 0 0 ref $_ and ref $_ eq 'HASH'
0 0 0 ref $_ and ref $_ eq 'HASH' and int keys %$_ == 1
94 0 0 762 $optimizer and &blessed($optimizer)
0 0 762 $optimizer and &blessed($optimizer) and $optimizer->isa('WWW::Shopify::Liquid::Optimizer')
106 2 16 85 defined $_[1] and &looks_like_number($_[1])
107 2 0 16 ref $_[1] and ref $_[1] eq 'DateTime'

or 3 conditions

line l !l&&r !l&&!r condition
81 5 74 5535 $exp or not $self->is_processed($return)
79 77 5458 $exp or not $self->is_processed($return) or not defined $return