Subroutine Coverage

blib/lib/HTML/DOM/Element.pm
Criterion Covered Total %
subroutine 150 153 98.0
pod 21 29 72.4


line count pod subroutine
3 25 n/a BEGIN
4 25 n/a BEGIN
7 25 n/a BEGIN
8 25 n/a BEGIN
9 25 n/a BEGIN
10 25 n/a BEGIN
94 1402 No class_for
140 1408 No new
190 458 Yes tagName
193 2718 Yes id
195 5 Yes title
196 5 Yes lang
197 5 Yes dir
198 5 Yes className
208 38 Yes style
232 549 Yes content_offset
321 5018 Yes getAttribute
337 802 Yes setAttribute
348 25 n/a BEGIN
352 249 n/a __ANON__
381 5165 n/a _attr
393 47 Yes removeAttribute
411 2 n/a __ANON__
428 387 Yes getAttributeNode
461 19 Yes setAttributeNode
527 11 Yes removeAttributeNode
555 10 Yes getElementsByTagName
567 2 n/a __ANON__
571 9 n/a __ANON__
581 9 Yes getElementsByClassName
585 18 n/a _getElementsByClassName
589 25 n/a BEGIN
596 177 n/a __ANON__
601 0 n/a __ANON__
608 4 n/a __ANON__
617 497 Yes hasAttribute
626 21 n/a _attr_specified
628 2 Yes click
632 31 n/a _html_fragment_parser
642 25 n/a BEGIN
645 44 No innerHTML
673 5 No insertAdjacentHTML
688 5 No insertAdjacentElement
703 3 No innerText
719 147 No starttag
731 30 Yes attributes
738 7 Yes cloneNode
750 201 No clone
757 1571 Yes trigger_event
762 16 n/a __ANON__
771 61 n/a __ANON__
805 5 n/a profile
812 25 n/a BEGIN
814 6 n/a disabled
821 15 n/a charset
822 43 n/a href
823 10 n/a hreflang
824 10 n/a media
825 10 n/a rel
826 10 n/a rev
827 20 n/a target
828 40 n/a type
831 40 n/a sheet
832 25 n/a BEGIN
834 25 n/a BEGIN
845 29 n/a setAttribute
852 1 n/a removeAttribute
859 3 n/a setAttributeNode
864 1 n/a removeAttributeNode
873 38 n/a trigger_event
892 21 n/a _reset_style_sheet
919 0 n/a __ANON__
940 19 n/a text
953 5 n/a content
954 5 n/a httpEquiv
955 45 n/a name
956 5 n/a scheme
971 2 n/a form
974 5 n/a prompt
986 15 n/a sheet
1001 7 n/a aLink
1002 7 n/a background
1003 7 n/a bgColor
1004 7 n/a link
1005 7 n/a text
1006 7 n/a vLink
1008 4 n/a event_handler
1026 30 n/a compact
1027 5 n/a type
1034 5 n/a start
1065 10 n/a value
1072 40 n/a align
1093 10 n/a cite
1100 30 n/a width
1107 5 n/a clear
1114 10 n/a color
1115 10 n/a face
1116 15 n/a size
1133 6 n/a noShade
1144 5 n/a dateTime
1151 10 n/a accessKey
1159 10 n/a shape
1164 1 n/a blur
1165 1 n/a focus
1168 119 n/a trigger_event
1180 128 n/a _get_abs_href
1192 18 n/a hash
1208 18 n/a host
1220 18 n/a hostname
1231 18 n/a pathname
1242 18 n/a port
1253 18 n/a protocol
1266 20 n/a search
1289 0 n/a lowSrc
1292 15 n/a alt
1293 5 n/a border
1294 20 n/a height
1295 15 n/a hspace
1296 6 n/a isMap
1297 5 n/a longDesc
1298 22 n/a src
1299 10 n/a useMap
1300 15 n/a vspace
1309 10 n/a code
1311 10 n/a archive
1312 5 n/a border
1313 10 n/a codeBase
1314 5 n/a codeType
1315 5 n/a data
1316 6 n/a declare
1320 5 n/a standby
1321 15 n/a tabIndex
1326 1 n/a contentDocument
1336 5 n/a valueType
1351 5 n/a object
1361 1 n/a areas
1368 1 n/a __ANON__
1382 10 n/a coords
1384 5 n/a noHref
1388 25 n/a BEGIN
1400 5 n/a htmlFor
1401 5 n/a event
1403 6 n/a defer
1412 5 n/a rows
1413 5 n/a cols
1420 12 n/a frameBorder
1421 10 n/a longDesc
1422 10 n/a marginHeight
1423 10 n/a marginWidth
1425 6 n/a noResize
1426 10 n/a scrolling
1428 6 n/a contentDocument
1430 8 n/a contentWindow