Subroutine Coverage

blib/lib/HTML/DOM.pm
Criterion Covered Total %
subroutine 106 106 100.0
pod 55 59 93.2


line count pod subroutine
8 24 n/a BEGIN
10 24 n/a BEGIN
11 24 n/a BEGIN
13 24 n/a BEGIN
14 24 n/a BEGIN
15 24 n/a BEGIN
16 24 n/a BEGIN
17 24 n/a BEGIN
18 24 n/a BEGIN
34 20284 n/a __ANON__
39 24 n/a BEGIN
187 24 n/a BEGIN
192 93 n/a elementify
202 147 n/a new
207 547 n/a __ANON__
218 807 n/a __ANON__
299 594 n/a start
333 5 n/a _create_events
353 547 n/a text
358 860 n/a insert_element
367 601 n/a end
390 9 n/a declaration
403 1147 n/a element_class
406 5 n/a version
411 92 Yes new
481 133 Yes elem_handler
492 16 n/a __ANON__
540 11 Yes css_url_fetcher
609 5 Yes parse_file
623 24 n/a BEGIN
627 1 n/a BEGIN
652 38 Yes charset
658 110 Yes write
693 5 n/a __ANON__
697 1 n/a __ANON__
701 7 n/a __ANON__
732 4 Yes writeln
735 97 Yes close
751 116 Yes open
830 2 Yes doctype
833 24 n/a BEGIN
834 2 Yes implementation
838 103 Yes documentElement
842 354 Yes createElement
848 9 Yes createDocumentFragment
854 606 Yes createTextNode
860 7 Yes createComment
866 1 No createCDATASection
871 1 Yes createProcessingInstruction
876 22 Yes createAttribute
882 1 Yes createEntityReference
893 17 Yes getElementsByTagName
903 2 n/a __ANON__
904 17 n/a __ANON__
912 12 Yes importNode
949 6 Yes alinkColor
950 6 Yes background
951 6 Yes bgColor
952 6 Yes fgColor
953 6 Yes linkColor
954 6 Yes vlinkColor
1015 12 Yes title
1034 5 Yes referrer
1038 24 n/a BEGIN
1039 2 Yes domain
1045 151 Yes URL
1052 78 Yes body
1070 2 Yes images
1077 1 n/a __ANON__
1085 2 Yes applets
1093 1 n/a __ANON__
1102 4 Yes links
1114 3 n/a __ANON__
1125 39 Yes forms
1132 22 n/a __ANON__
1140 2 Yes anchors
1148 1 n/a __ANON__
1158 8 Yes cookie
1166 24 n/a BEGIN
1227 163 Yes getElementById
1231 24 n/a BEGIN
1240 3 Yes getElementsByName
1246 1 n/a __ANON__
1254 9 Yes getElementsByClassName
1274 267 Yes createEvent
1299 1886 Yes defaultView
1317 25 Yes styleSheets
1339 25 Yes innerHTML
1375 3 Yes location
1382 1 Yes set_location_object
1414 4 Yes lastModified
1428 44 Yes ownerDocument
1429 1 Yes nodeName
1430 24 n/a BEGIN
1446 157 Yes base
1453 24 n/a BEGIN
1467 1580 Yes magic_forms
1634 21 No event_attr_handler
1639 1886 No default_event_handler
1644 222 No default_event_handler_for
1649 1895 Yes error_handler
1655 677 Yes event_parent
1661 1891 Yes event_listeners_enabled
1671 376 n/a _modified
1685 413 n/a _populate_sheet_list
1694 204 n/a _register_magic_node_list