Branch Coverage

blib/lib/Templ/Tag.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
14 0 0 unless (defined $class or ref $class or not $class =~ /^(\w+\:\:)*\w+$/)
17 0 6 if ($class eq 'Templ::Tag')
29 0 6 unless (index $valid_chars, $self->char and length $self->char == 1)
42 0 24 unless (defined $self->{'char'})
55 6 15 unless (defined $self->{'_pre_rx'})
72 6 15 unless (defined $self->{'_post_rx'})
101 0 18 if ($pre =~ /^([ \t]*).*\=/)