Branch Coverage

blib/lib/WWW/Shopify/Liquid/Exception.pm
Criterion Covered Total %
branch 27 42 64.2


line true false branch
10 11 289 $_[0]->error && (!ref($_[0]->error) || &blessed(scalar $_[0]->error)) ? :
0 21 $_[0]{'line'}[3] ? :
21 279 $_[0]->line ? :
11 61 0 ref $_[0]{'line'} && ref $_[0]{'line'} eq 'ARRAY' ? :
61 271 $_[0]{'line'} ? :
12 10 0 $_[0]{'line'} && ref $_[0]{'line'} && ref $_[0]{'line'} eq 'ARRAY' ? :
14 8 0 $_[0]{'error'} ? :
26 18 12 if (&blessed($line))
27 2 0 if ($line->isa('WWW::Shopify::Liquid::Tag') or $line->isa('WWW::Shopify::Liquid::Token') or $line->isa('WWW::Shopify::Liquid::Operator') or $line->isa('WWW::Shopify::Liquid::Filter'))
32 0 30 if (defined $line and ref $line ne 'ARRAY')
47 7 8 if int @_ > 0
72 10 7 if not $element->isa('WWW::Shopify::Liquid::Token')
77 5 0 if ((ref $element || '') eq 'ARRAY') { }
78 5 0 if (@_ > 2)
85 0 0 if @_ > 2
110 0 1 if $self->{'token'}
160 1 1 if ($self->error and ref $self->error eq 'ARRAY') { }
162 1 0 $min == $max ? :
1 0 defined $max ? :
1 0 if $_[0]{'token'} and $_[0]{'token'}->can('stringify')
165 0 1 if $_[0]{'token'} and $_[0]{'token'}->can('stringify')