Branch Coverage

blib/lib/Text/MicroMason/Filters.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
32 20 19 if ($tokens[$position * 2] eq 'expr')
34 14 6 $token =~ s/(?
41 18 2 unless $filt_flags and $self->{'default_policy'} eq 'override'
43 17 3 if (my(@filters) = $self->parse_filters(@unparsed))
60 2 36 /^[$short]{2,5}$/ ? :
71 2 0 ref $self ? :
72 0 2 if (scalar @_ == 0) { }
0 2 elsif (scalar @_ == 1) { }
76 0 0 if (not ref $key) { }
91 0 20 ref $_ eq 'CODE' ? :
0 20 unless ref $_ eq 'CODE' ? $_ : $self->{'filters'}{$_}