EPP/Contact/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/Contact/Notification.pm ↑ Summary EPP/Domain/Check/Response.pm »
1  
2 package XML::EPP::Contact::Update;
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 { 'update' }
Subroutine root_element: not called CC=1 SCAR=6.9
8  
9 with 'XML::EPP::Contact::RQ', 'XML::EPP::Contact::Node';
10  
11 has_element 'id' =>
12 is => 'ro',
13 isa => 'XML::EPP::Common::labelType',
14 ;
15  
16 0 ▶use XML::EPP::Contact::AddRem;
Subroutine BEGIN: called CC=1 SCAR=2.6
17 has_element 'add' =>
18 is => 'ro',
19 isa => 'XML::EPP::Contact::AddRem',
20 xml_required => 0,
21 ;
22  
23 has_element 'remove' =>
24 is => 'ro',
25 isa => 'XML::EPP::Contact::AddRem',
26 xml_required => 0,
27 xml_nodeName => 'rem',
28 ;
29  
30 has_element 'change' =>
31 is => 'ro',
32 isa => 'XML::EPP::Contact::Change',
33 xml_required => 0,
34 xml_nodeName => 'chg',
35 ;
36  
37 1;
38  
39 =head1 NAME
40  
41 ? - implement ?
42  
43 =head1 SYNOPSIS
44  
45 TODO
46  
47 =head1 DESCRIPTION
48  
49 ...
50  
51 =head2 XML Schema Definition
52  
53 <!--
54 Child elements of the <update> command.
55 -->
56 <complexType name="updateType">
57 <sequence>
58 <element name="id" type="eppcom:clIDType"/>
59 <element name="add" type="contact:addRemType"
60 minOccurs="0"/>
61 <element name="rem" type="contact:addRemType"
62 minOccurs="0"/>
63 <element name="chg" type="contact:chgType"
64 minOccurs="0"/>
65 </sequence>
66 </complexType>
67  
68 =cut
« EPP/Contact/Notification.pm ↑ Summary EPP/Domain/Check/Response.pm »