File Coverage

blib/lib/XML/EPP/Domain/Period.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             package XML::EPP::Domain::Period;
2              
3 1     1   2609 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             use Moose::Util::TypeConstraints;
6              
7             has_element 'value' =>
8             is => 'ro',
9             isa => 'XML::EPP::Domain::pLimitType',
10             xml_nodeName => ''
11             ;
12              
13             has_attr 'unit' =>
14             is => 'ro',
15             isa => 'XML::EPP::Domain::pUnitType',
16             coerce => 1,
17             ;
18              
19             1;
20              
21             =head1 NAME
22              
23             ? - implement ?
24              
25             =head1 SYNOPSIS
26              
27             TODO
28              
29             =head1 DESCRIPTION
30              
31             ...
32              
33             =head2 XML Schema Definition
34              
35             <complexType name="periodType">
36             <simpleContent>
37             <extension base="domain:pLimitType">
38             <attribute name="unit" type="domain:pUnitType"
39             use="required"/>
40             </extension>
41             </simpleContent>
42             </complexType>
43              
44             =cut