EPP/Domain/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/Domain/Transfer.pm ↑ Summary EPP/Grace/Update.pm »
1  
2 package XML::EPP::Domain::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::Domain::RQ', 'XML::EPP::Domain::Node';
10  
11 has_element 'name' =>
12 is => 'ro',
13 isa => 'XML::EPP::Common::labelType',
14 ;
15  
16 0 ▶use XML::EPP::Domain::AddRem;
Subroutine BEGIN: called CC=1 SCAR=2.6
17 has_element 'add' =>
18 is => 'ro',
19 isa => 'XML::EPP::Domain::AddRem',
20 xml_required => 0,
21 ;
22  
23 has_element 'remove' =>
24 is => 'ro',
25 isa => 'XML::EPP::Domain::AddRem',
26 xml_nodeName => 'rem',
27 xml_required => 0,
28 ;
29  
30 has_element 'change' =>
31 is => 'ro',
32 isa => 'XML::EPP::Domain::Change',
33 xml_nodeName => 'chg',
34 xml_required => 0,
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="name" type="eppcom:labelType"/>
59 <element name="add" type="domain:addRemType"
60 minOccurs="0"/>
61 <element name="rem" type="domain:addRemType"
62 minOccurs="0"/>
63 <element name="chg" type="domain:chgType"
64 minOccurs="0"/>
65 </sequence>
66 </complexType>
67  
68 =cut
« EPP/Domain/Transfer.pm ↑ Summary EPP/Grace/Update.pm »