Branch Coverage

blib/lib/WWW/Shopify/Liquid/Tag/CreateTag.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
13 6 9 if (not ref $package) { }
16 4 2 $free ? :
23 0 6 if $parser->free_tags->{$tag} and not $parser->free_tags->{$tag}->isa('WWW::Shopify::Liquid::Tag::CustomTag') or $parser->enclosing_tags->{$tag} and not $parser->enclosing_tags->{$tag}->isa('WWW::Shopify::Liquid::Tag::CustomTag')
24 0 0 if defined $_ and &blessed($_) and $_->isa('WWW::Shopify::Liquid::Tag::CustomTag') and $tag and $_->name
0 6 unless int grep({$tag eq $_->name if defined $_ and &blessed($_) and $_->isa('WWW::Shopify::Liquid::Tag::CustomTag') and $tag and $_->name;} $contents->tokens) == 0
25 3 3 if $parser->transient_custom_operations
39 4 2 $_[0]{'free'} ? :
40 5 10 !$_[0]{'free'} ? :
56 1 7 $self->{'stored_contents'} && &blessed($self->{'stored_contents'}) ? :