EPP/Contact/ChangePostalInfo.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/Change.pm ↑ Summary EPP/Contact/PostalInfo.pm »
1 package XML::EPP::Contact::ChangePostalInfo;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 with 'XML::EPP::Contact::Node';
6  
7 1 ▶use PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 #has_element 'name' =>
10 # is => 'ro',
11 # isa => 'XML::EPP::Contact::postalLineType',
12 # required => 0,
13 # ;
14  
15 has_element 'org' =>
16 is => 'ro',
17 isa => 'XML::EPP::Contact::optPostalLineType',
18 required => 0,
19 ;
20  
21 0 ▶use XML::EPP::Contact::Addr;
Subroutine BEGIN: called CC=1 SCAR=2.6
22 has_element 'addr' =>
23 is => 'ro',
24 isa => 'XML::EPP::Contact::Addr',
25 xml_required => 0,
26 ;
27  
28 has_attr 'type' =>
29 is => 'ro',
30 isa => 'XML::EPP::Contact::postalInfoEnumType',
31 ;
32  
33 1;
34  
35 =head1 NAME
36  
37 ? - implement ?
38  
39 =head1 SYNOPSIS
40  
41 TODO
42  
43 =head1 DESCRIPTION
44  
45 ...
46  
47 =head2 XML Schema Definition
48  
49 <complexType name="chgPostalInfoType">
50 <sequence>
51 <element name="name" type="contact:postalLineType"
52 minOccurs="0"/>
53 <element name="org" type="contact:optPostalLineType"
54 minOccurs="0"/>
55 <element name="addr" type="contact:addrType"
56 minOccurs="0"/>
57 </sequence>
58 <attribute name="type" type="contact:postalInfoEnumType"
59 use="required"/>
60 </complexType>
61  
62 =cut
« EPP/Contact/Change.pm ↑ Summary EPP/Contact/PostalInfo.pm »