| blib/lib/HTML/ValidationRules/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 13 | 76.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 86 | 14 | 9 | 37 | defined $$attr{'type'} and $TYPE_ATTR_MAP{lc $$attr{'type'} or ''} |
| 96 | 0 | 9 | 43 | defined $value and $key ne $value |
| line | l | !l | condition |
|---|---|---|---|
| 86 | 46 | 0 | lc $$attr{'type'} or '' |
| 104 | 8 | 52 | $$parser{'rules'} ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 54 | 156 | 52 | 0 | $$self{'parser'} ||= 'HTML::Parser'->new('api_version', 3, 'start_h', [\&start, 'self, tagname, attr, attrseq'], %{{} unless $$self{'options'};}) |