lib/Badger/Codec/HTML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 18 | 55.5 |
line | true | false | branch |
---|---|---|---|
31 | 0 | 4 | unless defined $html |
42 | 0 | 4 | if ($charset and $filter = $Badger::Codec::HTML::CHARSET->{$charset}) |
51 | 0 | 4 | unless defined $html |
56 | 0 | 0 | /^#x([0-9a-f]+)$/i ? : |
0 | 0 | /^#(\d+)$/ ? : | |
8 | 0 | /^lt$/i ? : | |
8 | 8 | /^gt$/i ? : | |
8 | 16 | /^quot$/i ? : | |
4 | 24 | /^amp$/i ? : |