Subroutine Coverage

blib/lib/HTML/Element.pm
Criterion Covered Total %
subroutine 86 128 67.1
pod 89 90 98.8


line count pod subroutine
5 30 n/a BEGIN
6 30 n/a BEGIN
10 30 n/a BEGIN
11 30 n/a BEGIN
12 30 n/a BEGIN
13 30 n/a BEGIN
35 34 Yes Use_Weak_Refs
42 30 n/a BEGIN
43 160 n/a __ANON__
52 30 n/a BEGIN
58 28 n/a import
77 0 Yes Version
112 19 Yes ABORT
113 0 Yes PRUNE
114 0 Yes PRUNE_SOFTLY
115 0 Yes OK
116 0 Yes PRUNE_UP
164 2867 Yes new
188 59 Yes attr
207 1222 Yes tag
218 118 Yes parent
232 4 Yes child_nodes
239 1739 Yes content_list
245 10 Yes content
250 0 Yes content_array_ref
255 0 Yes content_refs_list
260 13 Yes encoding
265 0 Yes implicit
270 8 Yes pos
287 9 Yes all_attr
296 635 Yes all_attr_names
301 3 Yes all_external_attr
309 0 Yes all_external_attr_names
314 0 Yes id
332 0 n/a _gensym
344 0 Yes idf
368 4666 Yes push_content
400 2 Yes unshift_content
434 2 Yes splice_content
467 4 Yes detach
480 9 Yes detach_content
489 4 Yes replace_with
535 2 Yes preinsert
542 2 Yes postinsert
549 18 Yes replace_with_content
571 1268 Yes delete_content
595 0 Yes destroy
596 0 Yes destroy_content
599 1458 Yes delete
615 4 Yes clone
637 3 Yes clone_list
650 9 Yes normalize_content
725 368 Yes delete_ignorable_whitespace
818 1979 Yes insert_element
850 2849 n/a _empty_element_map
854 3736 n/a _fold_case_LC
864 0 n/a _fold_case_NOT
881 46 Yes dump
913 6 Yes openw
928 6 Yes encode_fh
950 277 Yes as_HTML
967 779 n/a __ANON__
1096 3588 n/a __ANON__
1156 9 n/a new
1160 25 n/a starttag
1166 6 Yes content_as_HTML
1171 3 Yes content_as_XML
1178 53 Yes as_text
1202 13 Yes as_trimmed_text
1213 1 No as_text_trimmed
1221 129 Yes as_XML
1230 1472 n/a __ANON__
1274 294 n/a _xml_escape_text
1303 58 n/a _xml_escape
1322 1 Yes as_Lisp_form
1328 1 n/a __ANON__
1390 20 Yes as_lol
1418 7 Yes content_as_lol
1427 0 Yes format
1438 1543 Yes starttag
1507 622 Yes starttag_XML
1546 1439 Yes endtag
1550 607 Yes endtag_XML
1580 425 Yes traverse
1793 3681 Yes is_inside
1817 21 Yes is_empty
1823 129 Yes pindex
1837 0 Yes left
1865 0 Yes right
1900 67 Yes address
1941 0 Yes depth
1951 20 Yes root
1960 47 Yes lineage
1970 0 Yes lineage_tag_names
1979 0 Yes descendents
1982 0 Yes descendants
1988 0 n/a __ANON__
2003 0 n/a __ANON__
2015 9 Yes find
2020 19 Yes find_by_tag_name
2049 19 Yes find_by_attribute
2060 121 n/a __ANON__
2086 72 Yes look_down
2162 9 Yes look_up
2237 0 Yes attr_get_i
2284 0 Yes tagname_map
2301 0 Yes extract_links
2314 0 n/a __ANON__
2346 0 Yes simplify_pres
2351 0 n/a __ANON__
2388 25 Yes same_as
2471 72 Yes new_from_lol
2485 336 n/a __ANON__
2599 0 Yes objectify_text
2620 0 Yes deobjectify_text
2678 30 n/a BEGIN
2681 0 n/a _int2latin
2691 0 n/a _int2LATIN
2701 0 n/a _i2l
2718 0 n/a _int2ROMAN
2748 0 n/a _int2roman
2751 0 n/a _int2int
2762 0 Yes number_lists
2810 0 Yes has_insane_linkage
2853 0 n/a _asserts_fail
2873 0 n/a __ANON__
2905 4062 n/a _valid_name
2916 260 Yes element_class