blib/lib/HTML/Widget/Plugin/Attrs.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 14 | 64.2 |
line | true | false | branch |
---|---|---|---|
74 | 0 | 1 | unless $$arg{-'bool'} |
77 | 0 | 1 | if ($$arg{-'tag'} and my $entry = $HTML::Tagset::boolean_attr{$$arg{-'tag'}}) |
78 | 0 | 0 | ref $entry ? : |
82 | 7 | 1 | if not $_ =~ /^-/ |
84 | 1 | 5 | if $is_bool and not $arg->{$key} |
89 | 1 | 4 | $is_bool ? : |
94 | 1 | 0 | if length $str |