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