EPP/Response.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 CC 1 SCAR 0.9
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« EPP/Host/Rename.pm ↑ Summary EPP/Transfer.pm »
1  
2 package XML::EPP::Response;
3  
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 0 ▶use MooseX::Method::Signatures;
Subroutine BEGIN: called CC=1 SCAR=2.6
7 use Moose::Util::TypeConstraints;
8 use PRANG::Graph;
9  
10 our $SCHEMA_PKG = "XML::EPP";
11 our $PKG = __PACKAGE__;
12  
13 use XML::EPP::Result;
14 has_element 'result' =>
15 is => "rw",
16 isa => "ArrayRef[${SCHEMA_PKG}::resultType]",
17 required => 1,
18 ;
19  
20 use XML::EPP::MsgQ;
21 has_element 'msgQ' =>
22 is => "rw",
23 isa => "${SCHEMA_PKG}::msgQType",
24 predicate => "has_msgQ",
25 ;
26  
27 use XML::EPP::SubResponse;
28  
29 has_element 'response' =>
30 is => "rw",
31 isa => "${SCHEMA_PKG}::SubResponse",
32 predicate => "has_response",
33 xml_nodeName => "resData",
34 ;
35  
36 has_element 'extension' =>
37 is => "rw",
38 isa => "${SCHEMA_PKG}::extAnyType",
39 predicate => "has_extension",
40 ;
41  
42 has_element 'tx_id' =>
43 is => "rw",
44 isa => "${SCHEMA_PKG}::trIDType",
45 xml_nodeName => "trID",
46 required => 1,
47 ;
48  
49 with 'XML::EPP::Node';
50  
51 subtype "${SCHEMA_PKG}::responseType"
52 => as __PACKAGE__;
53  
54 sub is_command { 0 }
55  
56 1;
« EPP/Host/Rename.pm ↑ Summary EPP/Transfer.pm »