Branch Coverage

blib/lib/HTML/FormFu/Attribute.pm
Criterion Covered Total %
branch 20 38 52.6


line true false branch
32 8136 14348 unless (exists $self->{$name})
36 10684 11800 if @_ == 1
74 0 0 if (ref $mess eq 'ARRAY')
90 2828 96 if ($short =~ s/attributes$/attrs/)
131 991 957 if @_ == 1
159 0 1 if (ref $mess eq 'ARRAY')
222 0 0 if (ref $mess eq 'ARRAY')
242 2828 96 if ($short =~ s/attributes$/attrs/)
312 0 0 if (ref $mess eq 'ARRAY')
332 2828 96 if ($short =~ s/attributes$/attrs/)
370 2066 15607 if (@_ > 1)
388 0 0 if (@_ > 1)
425 1 0 if (@_)
462 780 7669 if (@_ > 1)
490 1 12 if (ref $mess eq 'ARRAY')
521 0 0 if (@_ == 1)
525 0 0 unless exists $self->attributes->{$name}
528 0 0 $self->attributes->{$name} ? :
536 0 0 if ($attr) { }