| 1 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | package XML::XPathScript::Processor::XPath; | ||||||||||
| 5 | 1 | our $AUTHORITY = 'cpan:YANICK'; | |||||||||
| 6 | 1 | $XML::XPathScript::Processor::XPath::VERSION = '2.00'; | |||||||||
| 7 | 1 | ▶ | use base qw/ XML::XPathScript::Processor /; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 0 | ▶ | sub get_namespace { | ||||||||
|
Subroutine
get_namespace: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 10 | 0 | ▶ | my $prefix = $_[1]->getPrefix or return; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 11 | 0 | return $_[1]->getNamespace( $prefix )->getExpanded(); | |||||||||
| 12 | } | ||||||||||
| 13 | |||||||||||
| 14 | 0 | ▶ | sub get_attributes { $_[1]->getAttributeNodes } | ||||||||
|
Subroutine
get_attributes: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 15 | 0 | ▶ | sub get_text_content { $_[1]->getData } | ||||||||
|
Subroutine
get_text_content: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 16 | 0 | ▶ | sub get_child_nodes { $_[1]->getChildNodes } | ||||||||
|
Subroutine
get_child_nodes: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 17 | 0 | ▶ | sub get_node_name { $_[1]->getName && $_[1]->getLocalName } | ||||||||
|
Subroutine
get_node_name: not called CC=2 SCAR=17.9
Pod
undocumented
Branch: 1 branch
| |||||||||||
| 18 | 0 | ▶ | sub get_qualified_name { $_[1]->getName } | ||||||||
|
Subroutine
get_qualified_name: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 19 | 0 | ▶ | sub is_element_node { $_[1]->isa( 'XML::XPath::Node::Element' ); } | ||||||||
|
Subroutine
is_element_node: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 20 | 0 | ▶ | sub is_text_node { $_[1]->isa( 'XML::XPath::Node::Text' ); } | ||||||||
|
Subroutine
is_text_node: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 21 | 0 | ▶ | sub is_comment_node { $_[1]->isa( 'XML::XPath::Node::Comment' ); } | ||||||||
|
Subroutine
is_comment_node: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 22 | 0 | ▶ | sub is_pi_node { $_[1]->isa( "XML::XPath::Node::PI" ); } | ||||||||
|
Subroutine
is_pi_node: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 23 | 0 | ▶ | sub is_nodelist { $_[1]->isa( 'XML::XPath::NodeSet' ); } | ||||||||
|
Subroutine
is_nodelist: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 24 | 0 | ▶ | sub get_attribute { $_[1]->toString } | ||||||||
|
Subroutine
get_attribute: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 25 | |||||||||||
| 26 | 1 | 1; | |||||||||
| 27 | |||||||||||
| 28 | __END__ | ||||||||||