EPP/TrID.pm

filter: Statementstmt 66.6% 4 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 75.0% 6 / 8 CC 1 SCAR 1.4
CC
1
Cov
67%
BEGIN
1.3
BEGIN
1.0
CRAP 1.1
« EPP/SvcMenu.pm ↑ Summary EPP/Contact/Check/Status.pm »
1  
2 package XML::EPP::TrID;
3  
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 0 ▶use MooseX::Method::Signatures;
Subroutine BEGIN: called CC=1 SCAR=2.6
6 use Moose::Util::TypeConstraints;
7 use PRANG::Graph;
8  
9 our $SCHEMA_PKG = "XML::EPP";
10  
11 has_element 'client_id' =>
12 is => "rw",
13 isa => "${SCHEMA_PKG}::trIDStringType",
14 predicate => "has_client_id",
15 xml_nodeName => "clTRID",
16 ;
17  
18 has_element 'server_id' =>
19 is => "rw",
20 isa => "${SCHEMA_PKG}::trIDStringType",
21 xml_nodeName => "svTRID",
22 required => 1,
23 ;
24  
25 with 'XML::EPP::Node';
26  
27 subtype "${SCHEMA_PKG}::trIDType"
28 => as __PACKAGE__;
29  
30 1;
31  
32 =head2 XMLSchema definition
33  
34 <complexType name="trIDType">
35 <sequence>
36 <element name="clTRID" type="epp:trIDStringType"
37 minOccurs="0"/>
38 <element name="svTRID" type="epp:trIDStringType"/>
39 </sequence>
40 </complexType>
41  
42 =cut
« EPP/SvcMenu.pm ↑ Summary EPP/Contact/Check/Status.pm »