EPP/Domain.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 87.5% 14 / 16 CC 1 SCAR 0.7
CC
1
Cov
83%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« EPP/Contact/PostalInfo.pm ↑ Summary EPP/Grace.pm »
1  
2 package XML::EPP::Domain;
3 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 with qw(XML::EPP::Plugin PRANG::Graph);
6  
7 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 0 ▶use XML::EPP::Common;
Subroutine BEGIN: called CC=1 SCAR=2.6
10  
11 our $PKG;
12  
13 BEGIN {
14 $PKG = "XML::EPP::Domain";
15  
16 enum "${PKG}::hostsType" => qw( all del none sub );
17  
18 enum "${PKG}::statusValueType" => qw (
19 clientDeleteProhibited
20 clientHold
21 clientRenewProhibited
22 clientTransferProhibited
23 clientUpdateProhibited
24 inactive
25 ok
26 pendingCreate
27 pendingDelete
28 pendingRenew
29 pendingTransfer
30 pendingUpdate
31 serverDeleteProhibited
32 serverHold
33 serverRenewProhibited
34 serverTransferProhibited
35 serverUpdateProhibited
36 );
37  
38 enum "${PKG}::contactAttrType" => qw( admin billing tech );
39  
40 subtype "${PKG}::pLimitType" =>
41 => as "PRANG::XMLSchema::short"
42 => where { $_ >= 1 and $_ <= 99 };
43  
44 enum "${PKG}::pUnitType" => qw( y m );
45  
46 subtype "${PKG}::clIDChgType"
47 => as "PRANG::XMLSchema::token"
48 => where {
49 length($_) <= 16;
50 };
51 }
52  
53 use XML::EPP::Domain::Check;
54 use XML::EPP::Domain::Info;
55 use XML::EPP::Domain::Transfer;
56 use XML::EPP::Domain::Create;
57 use XML::EPP::Domain::Delete;
58 use XML::EPP::Domain::Renew;
59 use XML::EPP::Domain::Update;
60  
61 use XML::EPP::Domain::Check::Response;
62 use XML::EPP::Domain::Info::Response;
63 use XML::EPP::Domain::Transfer::Response;
64 use XML::EPP::Domain::Create::Response;
65 # no response needed for 'Delete', already covered
66 use XML::EPP::Domain::Renew::Response;
67 # no response needed for 'Update', already covered
68 use XML::EPP::Domain::Notification;
69  
70 # load up all other classes under XML::EPP::Domain
71 use XML::EPP::Domain::AddRem;
72 use XML::EPP::Domain::AuthInfo;
73 use XML::EPP::Domain::Change;
74 use XML::EPP::Domain::Check::Name;
75 use XML::EPP::Domain::Check::Status;
76 use XML::EPP::Domain::Contact;
77 use XML::EPP::Domain::HostAttr;
78 use XML::EPP::Domain::Info::Name;
79 use XML::EPP::Domain::Node;
80 use XML::EPP::Domain::Notification::Name;
81 use XML::EPP::Domain::NS::List;
82 use XML::EPP::Domain::NS;
83 use XML::EPP::Domain::Period;
84 use XML::EPP::Domain::RQ;
85 use XML::EPP::Domain::RS;
86 use XML::EPP::Domain::Status;
87  
88 1;
« EPP/Contact/PostalInfo.pm ↑ Summary EPP/Grace.pm »