File Coverage

blib/lib/XML/EPP/Grace/MixedData.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1              
2             package XML::EPP::Grace::MixedData;
3              
4 1     1   1721 use Moose;
  0            
  0            
5             use PRANG::Graph;
6              
7             has_element 'contents' =>
8             is => "rw",
9             isa => "ArrayRef[XML::EPP::Grace::MixedData|Str]",
10             xml_nodeName => { "" => "Str", "*" => "XML::EPP::Grace::MixedData" },
11             xml_nodeName_attr => "nodenames",
12             xml_min => 0,
13             ;
14              
15             has 'nodenames' =>
16             is => "rw",
17             isa => "ArrayRef[Maybe[Str]]",
18             ;
19              
20             has_attr 'attributes' =>
21             is => "rw",
22             isa => "HashRef[Str|ArrayRef[Str]]",
23             xml_name => "*",
24             predicate => 'has_attributes',
25             ;
26              
27             use Moose::Util::TypeConstraints;
28             subtype "XML::EPP::Grace::mixedType"
29             => as __PACKAGE__;
30              
31             1;