Branch Coverage

blib/lib/WWW/Shopify/Liquid/Debugger.pm
Criterion Covered Total %
branch 9 32 28.1


line true false branch
13 0 1 unless $hash
43 0 0 unless $level
47 0 0 if (&reftype($item)) { }
48 0 0 if (&reftype($item) eq 'HASH') { }
0 0 elsif (&reftype($item) eq 'ARRAY') { }
49 0 0 if (&blessed($item)) { }
56 0 0 if (int @keys > 1) { }
0 0 elsif (int @keys > 0) { }
70 0 0 unless defined $item
83 1 0 unless $_->line != $line
102 1 1 if ($original) { }
108 0 1 if (my $exp = $@)
122 0 3 if wantarray
136 4 0 if $element->{'line'} and $element->{'line'}[3] and $_->file eq $element->{'line'}[3]
2 4 if (int grep({$element->{'line'}[0] == $_->line if $element->{'line'} and $element->{'line'}[3] and $_->file eq $element->{'line'}[3];} @{$$self{'breakpoints'};}) > 0)
139 0 0 if ($self->{'break_line'} and $element->{'line'} and $element->{'line'} >= $self->{'break_line'})