Branch Coverage

blib/lib/Text/MicroMason/HTMLTemplate.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
30 6 9 $1 ? :
18 0 m[\G ( (?: [^<] | <(?!/?$prefix_re) )+ ) ]cgsx ? :
15 18 m[\G \<(/?)($prefix_re\w+)\s*(.*?)\> ]cgsx ? :
43 6 9 unless length $args
44 4 5 unless $args =~ /=/
47 3 2 defined $2 ? :
5 0 $args =~ /\G \s* (\w+) \= (?: \"([^\"]+)\" | ( \w+ ) ) (?= \s | \z ) /cgsx ? :
63 0 3 if (defined $args->{'default'})
66 0 3 if ($args->{'escape'})
79 1 1 if (not $self->{'loop_context_vars'}) { }
136 0 0 ref $filter eq 'CODE' ? :