File Coverage

blib/lib/XML/EPP/Host.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::Host;
2 2     2   30314 use Moose::Role;
  0            
  0            
3             with qw(XML::EPP::Plugin PRANG::Graph);
4              
5             use Moose::Util::TypeConstraints;
6             use PRANG::XMLSchema::Types;
7             use XML::EPP::Common;
8              
9             BEGIN {
10             subtype "XML::EPP::Host::addrStringType"
11             => as "PRANG::XMLSchema::token"
12             => where { length $_ >= 3 and length $_ <= 45 };
13              
14             enum "XML::EPP::Host::ipType" => qw(v4 v6);
15              
16             enum "XML::EPP::Host::statusValueType" =>
17             qw(clientDeleteProhibited clientUpdateProhibited
18             linked ok pendingCreate pendingDelete
19             pendingTransfer pendingUpdate
20             serverDeleteProhibited serverUpdateProhibited
21             );
22             }
23              
24             use XML::EPP::Host::Create;
25             use XML::EPP::Host::Check;
26             use XML::EPP::Host::Delete;
27             use XML::EPP::Host::Info;
28             use XML::EPP::Host::Update;
29              
30             use XML::EPP::Host::Check::Response;
31             use XML::EPP::Host::Info::Response;
32             use XML::EPP::Host::Create::Response;
33              
34             use XML::EPP::Host::Notification;
35              
36             # load up all other classes under XML::EPP::Host
37             use XML::EPP::Host::Address;
38             use XML::EPP::Host::Delta;
39             use XML::EPP::Host::Item;
40             use XML::EPP::Host::List;
41             use XML::EPP::Host::Node;
42             use XML::EPP::Host::Rename;
43             use XML::EPP::Host::RQ;
44             use XML::EPP::Host::RS;
45             use XML::EPP::Host::Status;
46              
47             1;