EPP/Domain/Create/Response.pm

filter: Statementstmt 85.7% 6 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 80.0% 8 / 10 CC 1 SCAR 2.9
CC
1
Cov
86%
root_element
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« EPP/Domain/Check.pm ↑ Summary EPP/Domain/Delete.pm »
1 package XML::EPP::Domain::Create::Response;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 0 ▶sub root_element { 'creData' }
Subroutine root_element: not called CC=1 SCAR=6.9
7  
8 with
9 'XML::EPP::Domain::RS',
10 'XML::EPP::Domain::Node',
11 ;
12  
13 has_element 'name' =>
14 is => 'ro',
15 isa => 'XML::EPP::Common::labelType',
16 ;
17  
18 has_element 'created' =>
19 is => "rw",
20 isa => "PRANG::XMLSchema::dateTime",
21 coerce => 1,
22 xml_nodeName => "crDate",
23 ;
24  
25 has_element 'expiry_date' =>
26 is => 'rw',
27 isa => 'PRANG::XMLSchema::dateTime',
28 xml_nodeName => 'exDate',
29 coerce => 1,
30 required => 0,
31 ;
32  
33 1;
34  
35 =head1 NAME
36  
37 ? - implement ?
38  
39 =head1 SYNOPSIS
40  
41 TODO
42  
43 =head1 DESCRIPTION
44  
45 ...
46  
47 =head2 XML Schema Definition
48  
49 <!--
50 <create> response elements.
51 -->
52 <complexType name="creDataType">
53 <sequence>
54 <element name="name" type="eppcom:labelType"/>
55 <element name="crDate" type="dateTime"/>
56 <element name="exDate" type="dateTime"
57 minOccurs="0"/>
58 </sequence>
59 </complexType>
60  
61 =cut
« EPP/Domain/Check.pm ↑ Summary EPP/Domain/Delete.pm »