Subroutine Coverage

blib/lib/HTML/StripScripts.pm
Criterion Covered Total %
subroutine 68 72 94.4
pod 31 31 100.0


line count pod subroutine
2 10 n/a BEGIN
3 10 n/a BEGIN
5 10 n/a BEGIN
378 1487 Yes new
401 1487 Yes hss_init
423 1890 Yes input_start_document
443 3160 Yes input_start
449 3160 n/a _hss_accept_input_start
551 1508 Yes input_end
557 1508 n/a _hss_accept_input_end
600 382 Yes input_text
627 1 Yes input_process
639 1 Yes input_comment
651 1 Yes input_declaration
663 1890 Yes input_end_document
685 1890 Yes filtered_document
729 3778 Yes output_start_document
746 5108 Yes output_start
796 5111 Yes output
807 3113 Yes output_stack_entry
876 76 Yes reject_start
923 10 n/a BEGIN
927 10 n/a BEGIN
1013 1487 Yes init_context_whitelist
1030 10 n/a BEGIN
1034 10 n/a BEGIN
1196 1487 Yes init_attrib_whitelist
1234 10 n/a BEGIN
1237 10 n/a BEGIN
1252 1487 Yes init_attval_whitelist
1263 10 n/a BEGIN
1266 10 n/a BEGIN
1276 1487 Yes init_style_whitelist
1294 10 n/a BEGIN
1297 10 n/a BEGIN
1303 1487 Yes init_deinter_whitelist
1328 4731 Yes text_to_canonical_form
1361 4352 Yes quoted_to_canonical_form
1380 12 Yes unquoted_to_canonical_form
1398 3400 Yes canonical_form_to_text
1419 3021 Yes canonical_form_to_attval
1443 18 Yes validate_href_attribute
1472 2 Yes validate_mailto
1520 378 Yes filter_text
1541 10 n/a BEGIN
1544 10 n/a BEGIN
1553 3407 Yes escape_html_metachars
1575 3534 Yes strip_nonprintable
1597 3 n/a _hss_attval_style
1632 2 n/a _hss_attval_size
1646 0 n/a _hss_attval_number
1656 12 n/a _hss_attval_color
1666 1304 n/a _hss_attval_text
1677 2225 n/a _hss_attval_word
1688 0 n/a _hss_attval_wordlist
1700 0 n/a _hss_attval_wordlistq
1717 21 n/a _hss_attval_href
1740 3 n/a _hss_attval_src
1757 0 n/a _hss_attval_stylesrc
1775 2 n/a _hss_attval_novalue
1817 1487 n/a _hss_prepare_ban_list
1865 1487 n/a _hss_prepare_rules
1947 1592 n/a __ANON__
1988 4115 n/a _hss_get_attr_filter
2012 3112 n/a _hss_join_attribs
2030 300 n/a _hss_decode_numeric
2056 3153 n/a _hss_tag_is_banned
2075 3497 n/a _hss_get_to_valid_context
2116 1 n/a _hss_close_innermost_tag
2128 3516 n/a _hss_context
2141 3511 n/a _hss_valid_in_context
2154 3501 n/a _hss_valid_in_current_context