Branch Coverage

lib/Template/Plugin/HTML.pm
Criterion Covered Total %
branch 9 26 34.6


line true false branch
30 1 5 ref $args[-1] eq 'HASH' ? :
39 1 0 if ref $name eq 'HASH'
40 0 1 unless defined $name and length $name
42 1 0 if $attr
48 0 0 if ref $name eq 'HASH'
49 0 0 unless defined $name and length $name
51 0 0 if $attr
58 0 2 unless ref $hash eq 'HASH'
61 1 1 if $self->{'_SORTED'}
70 0 0 unless ref $attr eq 'HASH'
77 0 0 exists $cur->{$_} ? :
90 0 0 unless ref $attr eq 'HASH'
124 0 1 unless defined $text