EPP/Host/Update.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/Host/Notification.pm ↑ Summary EPP/MsgQ.pm »
1 package XML::EPP::Host::Update;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 0 ▶sub root_element { "update" }
Subroutine root_element: not called CC=1 SCAR=6.9
5  
6 with
7 'XML::EPP::Host::RQ',
8 'XML::EPP::Host::Node',
9 ;
10  
11 has_element 'name' =>
12 is => "ro",
13 isa => "XML::EPP::Common::labelType",
14 ;
15  
16 0 ▶use XML::EPP::Host::Delta;
Subroutine BEGIN: called CC=1 SCAR=2.6
17 has_element 'add' =>
18 is => "ro",
19 isa => "XML::EPP::Host::Delta",
20 predicate => "has_add",
21 coerce => 1,
22 ;
23  
24 has_element 'remove' =>
25 is => "ro",
26 isa => "XML::EPP::Host::Delta",
27 predicate => "has_remove",
28 xml_nodeName => "rem",
29 coerce => 1,
30 ;
31  
32 use XML::EPP::Host::Rename;
33 has_element 'rename' =>
34 is => "ro",
35 isa => "XML::EPP::Host::Rename",
36 xml_nodeName => "chg",
37 predicate => "has_rename",
38 coerce => 1,
39 ;
40  
41 use Moose::Util::TypeConstraints;
42 subtype "XML::EPP::Host::updateType" => as __PACKAGE__;
43  
44 1;
45  
46 =head1 NAME
47  
48 XML::EPP::Host::Update - implement ?
49  
50 =head1 SYNOPSIS
51  
52 TODO
53  
54 =head1 DESCRIPTION
55  
56 ...
57  
58 =head2 XML Schema Definition
59  
60 <!--
61 Child elements of the <update> command.
62 -->
63 <complexType name="updateType">
64 <sequence>
65 <element name="name" type="eppcom:labelType"/>
66 <element name="add" type="host:addRemType"
67 minOccurs="0"/>
68 <element name="rem" type="host:addRemType"
69 minOccurs="0"/>
70 <element name="chg" type="host:chgType"
71 minOccurs="0"/>
72 </sequence>
73 </complexType>
74  
75 =cut
« EPP/Host/Notification.pm ↑ Summary EPP/MsgQ.pm »