Rabbit/Node.pm

filter: Statementstmt 100% 33 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod n/a totaltotal 100% 43 / 43 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Rabbit/Role/Node.pm ↑ Summary
1 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package XML::Rabbit::Node;
5 13 $XML::Rabbit::Node::VERSION = '0.4.1';
6 13 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # ABSTRACT: Node base class
9  
10 # Preload XPath attribute traits
11 13 ▶use XML::Rabbit::Trait::XPathValue;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 13 ▶use XML::Rabbit::Trait::XPathValueList;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 13 ▶use XML::Rabbit::Trait::XPathValueMap;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 13 ▶use XML::Rabbit::Trait::XPathObject;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 13 ▶use XML::Rabbit::Trait::XPathObjectList;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 13 ▶use XML::Rabbit::Trait::XPathObjectMap;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18  
19 13 with 'XML::Rabbit::Role::Node' => {
20 'node' => { required => 1 },
21 'xpc' => { required => 1 },
22 'namespace_map' => { required => 1 },
23 };
24  
25 13 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 13 1;
28  
29 __END__
« Rabbit/Role/Node.pm ↑ Summary