Branch Coverage

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


line true false branch
31 8139 14346 unless (exists $self->{$name})
35 10704 11781 if @_ == 1
73 0 0 if (ref $mess eq 'ARRAY')
89 2815 96 if ($short =~ s/attributes$/attrs/)
130 984 958 if @_ == 1
158 0 1 if (ref $mess eq 'ARRAY')
221 0 0 if (ref $mess eq 'ARRAY')
241 2815 96 if ($short =~ s/attributes$/attrs/)
311 0 0 if (ref $mess eq 'ARRAY')
331 2815 96 if ($short =~ s/attributes$/attrs/)
369 2045 15460 if (@_ > 1)
387 0 0 if (@_ > 1)
424 1 0 if (@_)
461 774 7682 if (@_ > 1)
489 1 12 if (ref $mess eq 'ARRAY')
520 0 0 if (@_ == 1)
523 0 0 unless exists $self->attributes->{$name}
525 0 0 $self->attributes->{$name} ? :
533 0 0 if ($attr) { }