Branch Coverage

blib/lib/WWW/Shopify/Liquid/Tag/Case.pm
Criterion Covered Total %
branch 10 26 38.4


line true false branch
29 0 6 if int @$token > 0
35 0 11 if $token->[0]->tag eq 'when' and !$token->[0]{'arguments'}[0] || ref $token->[0]{'arguments'}[0] ne 'WWW::Shopify::Liquid::Token::String' && ref $token->[0]{'arguments'}[0] ne 'WWW::Shopify::Liquid::Token::Number'
37 0 17 if $token->[0]->tag eq 'else' and $_ < $#tokens
39 11 6 if ($token->[0]->tag eq 'when') { }
51 12 0 unless $self->is_processed($arguments)
52 3 9 $self->{'paths'}{$arguments} ? :
53 12 0 if $path and not $self->is_processed($path)
54 12 0 defined $path ? :
59 0 0 unless $self->is_processed($self->{'arguments'}[0])
61 0 0 if ($self->is_processed($key)) { }
62 0 0 exists $self->{'paths'}{$key} ? :
63 0 0 $self->is_processed($path) ? :
66 0 0 unless $self->is_processed($self->{'else'})