blib/lib/HTML/DOM/DocumentFragment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 2 | 50.0 |
total | 14 | 15 | 93.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTML::DOM::DocumentFragment; | ||||||
2 | |||||||
3 | 25 | 25 | 13815 | use strict; | |||
25 | 24 | ||||||
25 | 607 | ||||||
4 | |||||||
5 | 25 | 25 | 399 | use HTML::DOM::Node 'DOCUMENT_FRAGMENT_NODE'; | |||
25 | 28 | ||||||
25 | 2379 | ||||||
6 | |||||||
7 | our @ISA = 'HTML::DOM::Node'; | ||||||
8 | our $VERSION = '0.056'; | ||||||
9 | |||||||
10 | sub new { | ||||||
11 | 10 | 10 | 0 | 59575 | SUPER::new{shift} '~frag'; | ||
10 | 37 | ||||||
12 | } | ||||||
13 | |||||||
14 | 5 | 5 | 1 | 477 | sub nodeName {'#document-fragment'} | ||
15 | *nodeType = \& DOCUMENT_FRAGMENT_NODE; | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |