EPP/Grace/Report.pm

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EPP/Grace/MixedMsg.pm ↑ Summary EPP/Grace/Restore.pm »
1  
2 package XML::EPP::Grace::Report;
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 1 ▶use XML::EPP::Grace::MixedData;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 # the below elements are "processContents='lax'"; PRANG should support
10 # use of, eg 'PRANG::Graph' as a role which maps this.
11 1 has_element "pre" =>
12 is => "ro",
13 isa => "XML::EPP::Grace::MixedData",
14 xml_nodeName => "preData",
15 required => 1,
16 ;
17  
18 1 has_element "post" =>
19 is => "ro",
20 isa => "XML::EPP::Grace::MixedData",
21 xml_nodeName => "postData",
22 required => 1,
23 ;
24  
25 1 ▶use PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 1 has_element "deleted" =>
28 is => "ro",
29 isa => "PRANG::XMLSchema::dateTime",
30 xml_nodeName => "delTime",
31 required => 1,
32 ;
33  
34 1 has_element "restored" =>
35 is => "ro",
36 isa => "PRANG::XMLSchema::dateTime",
37 xml_nodeName => "resTime",
38 required => 1,
39 ;
40  
41 1 ▶use XML::EPP::Grace::MixedMsg;
Subroutine BEGIN: called CC=1 SCAR=0.0
42 1 has_element "reason" =>
43 is => "ro",
44 isa => "ArrayRef[XML::EPP::Grace::MixedMsg]",
45 xml_max => 2,
46 xml_nodeName => "resReason",
47 required => 1,
48 ;
49  
50 1 has_element "statement" =>
51 is => "ro",
52 isa => "ArrayRef[XML::EPP::Grace::MixedMsg]",
53 xml_max => 2,
54 required => 1,
55 ;
56  
57 1 has_element "other" =>
58 is => "ro",
59 isa => "XML::EPP::Grace::MixedData",
60 required => 1,
61 ;
62  
63 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
64 1 subtype 'XML::EPP::Grace::reportType'
65 => as __PACKAGE__;
66  
67 1 1;
« EPP/Grace/MixedMsg.pm ↑ Summary EPP/Grace/Restore.pm »