| blib/lib/Tree/DAG_Node/XPath.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| subroutine | 38 | 42 | 90.4 |
| pod | 12 | 12 | 100.0 |
| line | count | pod | subroutine |
|---|---|---|---|
| 4 | 2 | n/a | BEGIN |
| 5 | 2 | n/a | BEGIN |
| 8 | 2 | n/a | BEGIN |
| 11 | 2 | n/a | BEGIN |
| 12 | 2 | n/a | BEGIN |
| 15 | 12 | n/a | _init |
| 22 | 12 | n/a | _init_xpath_engine |
| 36 | 103 | n/a | _xpath_engine |
| 40 | 46 | Yes | find |
| 49 | 2 | Yes | findvalue |
| 56 | 47 | Yes | findnodes |
| 63 | 8 | Yes | matches |
| 76 | 95 | Yes | xpath_get_root_node |
| 83 | 134 | Yes | xpath_get_parent_node |
| 88 | 653 | Yes | xpath_get_child_nodes |
| 89 | 0 | Yes | xpath_is_document_node |
| 90 | 618 | Yes | xpath_is_element_node |
| 91 | 0 | Yes | xpath_is_attribute_node |
| 95 | 379 | Yes | xpath_get_attributes |
| 107 | 858 | Yes | xpath_cmp |
| 116 | 139 | n/a | xpath_get_child_nodes |
| 117 | 92 | n/a | address |
| 118 | 4 | n/a | xpath_get_attributes |
| 119 | 1 | n/a | xpath_is_document_node |
| 120 | 1 | n/a | xpath_is_element_node |
| 121 | 0 | n/a | xpath_is_attribute_node |
| 122 | 1 | n/a | xpath_get_parent_node |
| 123 | 1 | n/a | xpath_get_root_node |
| 124 | 1 | n/a | xpath_get_name |
| 125 | 1 | n/a | xpath_get_next_sibling |
| 126 | 1 | n/a | xpath_get_previous_sibling |
| 132 | 2 | n/a | BEGIN |
| 141 | 2 | n/a | xpath_get_value |
| 142 | 748 | n/a | xpath_get_name |
| 143 | 223 | n/a | xpath_string_value |
| 144 | 150 | n/a | xpath_to_number |
| 145 | 0 | n/a | xpath_is_document_node |
| 146 | 1 | n/a | xpath_is_element_node |
| 147 | 1 | n/a | xpath_is_attribute_node |
| 148 | 1 | n/a | to_string |
| 150 | 106 | n/a | address |
| 155 | 53 | n/a | xpath_cmp |