Branch Coverage

blib/lib/Templ/Tag.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
20 0 0 unless (defined $class or ref $class or not $class =~ /^(\w+\:\:)*\w+$/)
23 0 0 if ($class eq 'Templ::Tag')
27 0 0 unless (defined $char)
30 0 0 unless (length $char == 1)
33 0 0 if (not $char =~ /[[:print:]]/ or $char =~ /[[:alnum:]]/i or not $char =~ /[[:ascii:]]/)
36 0 0 if ($invalid_chars{$char})
55 0 0 if (exists $char_pairs{$$self{'char'}})
63 0 0 unless (defined $$self{'params'})
64 0 0 wantarray ? :
76 0 0 unless (defined $$self{'_pre_rx'})
98 0 0 unless (defined $$self{'_post_rx'})
135 0 0 if ($pre =~ /^([ \t]*).*\=/)