EPP/Domain/Renew.pm

filter: Statementstmt 70.0% 7 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 71.4% 10 / 14 CC 1 SCAR 2.8
CC
1
Cov
70%
root_element
2.0
BEGIN
1.3
BEGIN
1.0
CRAP 1.3
« EPP/Domain/Notification.pm ↑ Summary EPP/Domain/Transfer.pm »
1  
2 package XML::EPP::Domain::Renew;
3  
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 0 ▶sub root_element { 'renew' }
Subroutine root_element: not called CC=1 SCAR=6.9
8  
9 with 'XML::EPP::Domain::RQ', 'XML::EPP::Domain::Node';
10  
11 has_element 'name' =>
12 is => 'ro',
13 isa => 'XML::EPP::Common::labelType',
14 ;
15  
16 has_element 'expiry_date' =>
17 is => 'ro',
18 isa => 'PRANG::XMLSchema::date',
19 xml_nodeName => 'curExpDate',
20 required => 1,
21 ;
22  
23 0 ▶use XML::EPP::Domain::Period;
Subroutine BEGIN: called CC=1 SCAR=2.6
24 has_element 'period' =>
25 is => 'ro',
26 isa => 'XML::EPP::Domain::Period',
27 required => 1,
28 ;
29  
30 1;
31  
32 =head1 NAME
33  
34 ? - implement ?
35  
36 =head1 SYNOPSIS
37  
38 TODO
39  
40 =head1 DESCRIPTION
41  
42 ...
43  
44 =head2 XML Schema Definition
45  
46 <!--
47 Child elements of the <renew> command.
48 -->
49 <complexType name="renewType">
50 <sequence>
51 <element name="name" type="eppcom:labelType"/>
52 <element name="curExpDate" type="date"/>
53 <element name="period" type="domain:periodType"
54 minOccurs="0"/>
55 </sequence>
56 </complexType>
57  
58 =cut
« EPP/Domain/Notification.pm ↑ Summary EPP/Domain/Transfer.pm »