Branch Coverage

blib/lib/WWW/Shopify/Liquid/Tag/If.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
29 0 48 unless $token
31 20 28 if (int @tokens > 0)
32 0 20 if $tokens[0][0]->tag eq 'else' and int @tokens > 1
33 2 18 if ($tokens[0][0]->tag eq 'elsif') { }
47 0 15 $self->is_processed($$self{'arguments'}[0]) ? :
48 7 8 $arguments ? :
49 7 8 if $path and not $self->is_processed($path)
50 7 8 defined $path ? :
55 0 0 unless $self->is_processed($$self{'arguments'}[0])
56 0 0 if ($self->is_processed($$self{'arguments'}[0]))
57 0 0 $$self{'arguments'}[0] ? :
58 0 0 $self->is_processed($path) ? :
60 0 0 unless $self->is_processed($$self{'false_path'})
61 0 0 unless $self->is_processed($$self{'true_path'})