Branch Coverage

blib/lib/HTML/ValidationRules/Parser.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
51 52 0 unless $$self{'options'}
65 0 52 if ($file) { }
78 4 61 unless $tag =~ /$ELEMENTS_PATTERN/
81 1 60 unless defined $name
86 37 23 if (defined $$attr{'type'} and $TYPE_ATTR_MAP{lc $$attr{'type'} or ''})
92 0 60 unless $attrseq
93 81 52 unless $$attrs{$key}
96 43 9 if (defined $value and $key ne $value) { }
9 0 elsif ($key eq $value) { }
110 9 80 if $key eq 'required'