Subroutine Coverage
blib/lib/XML/DOM2/DOM/Element.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
25 |
52 |
48.0
|
pod |
48 |
48 |
100.0
|
line |
count |
pod |
subroutine |
15
|
3 |
n/a |
BEGIN |
17
|
3 |
n/a |
BEGIN |
18
|
3 |
n/a |
BEGIN |
28
|
1 |
Yes |
getFirstChild |
45
|
0 |
Yes |
getLastChild |
61
|
1 |
Yes |
getChildIndex |
82
|
0 |
Yes |
getChildAtIndex |
101
|
1 |
Yes |
getNextSibling |
122
|
0 |
Yes |
getPreviousSibling |
146
|
24 |
Yes |
getChildren |
162
|
0 |
Yes |
getChildrenByName |
182
|
39 |
Yes |
hasChildren |
205
|
85 |
Yes |
getParent |
226
|
18 |
Yes |
setParent |
250
|
0 |
Yes |
getParents |
273
|
0 |
Yes |
isAncestor |
289
|
0 |
Yes |
isDescendant |
305
|
0 |
Yes |
getSiblings |
320
|
0 |
Yes |
hasSiblings |
348
|
0 |
Yes |
getElementName |
365
|
18 |
Yes |
getElementId |
382
|
10 |
Yes |
getAttribute |
394
|
3 |
Yes |
getAttributes |
434
|
3 |
Yes |
getAttributeNames |
451
|
3 |
Yes |
getAttributeNamesNS |
477
|
3 |
Yes |
getAttributeNamespaces |
488
|
0 |
Yes |
hasAttribute |
499
|
0 |
Yes |
hasAttributeNS |
512
|
10 |
Yes |
hasAttributes |
523
|
6 |
Yes |
setAttribute |
548
|
6 |
n/a |
_get_attribute_object |
577
|
0 |
Yes |
removeAttribute |
591
|
0 |
Yes |
removeAttributeNS |
605
|
0 |
Yes |
getAttributeNS |
623
|
0 |
Yes |
setAttributeNS |
641
|
19 |
Yes |
cdata |
662
|
6 |
Yes |
hasCDATA |
673
|
94 |
Yes |
document |
696
|
0 |
Yes |
insertBefore |
719
|
0 |
Yes |
insertAfter |
736
|
0 |
Yes |
insertSiblingAfter |
748
|
0 |
Yes |
insertSiblingBefore |
760
|
0 |
Yes |
replaceChild |
781
|
0 |
Yes |
replaceElement |
793
|
0 |
Yes |
removeChild |
808
|
0 |
Yes |
removeElement |
824
|
18 |
Yes |
appendChild |
840
|
0 |
Yes |
cloneNode |
865
|
0 |
Yes |
findChildIndex |
881
|
18 |
Yes |
insertAtIndex |
917
|
0 |
Yes |
removeChildAtIndex |
953
|
18 |
Yes |
createChildElement |