Branch Coverage

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


line true false branch
29 0 3 if int @$token > 0
32 0 5 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 8 if $$token[0]->tag eq 'else' and $_ < $#tokens
39 5 3 if ($$token[0]->tag eq 'when') { }
51 0 0 unless $self->is_processed($arguments)
52 0 0 $$self{'paths'}{$arguments} ? :
53 0 0 if $path and not $self->is_processed($path)
54 0 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'})