SRS/Response.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 91.6% 22 / 24 SCAR 0.0
CC
1
Cov
89%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SRS/Handle/Query.pm ↑ Summary SRS.pm »
1  
2 package XML::SRS::Response;
3  
4 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 5 ▶use MooseX::Method::Signatures;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 5 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use XML::SRS::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 5 ▶use XML::SRS::Result;
Subroutine BEGIN: called CC=1 SCAR=2.6
10 use XML::SRS::Error;
11  
12 has_attr "registrar_id" =>
13 is => "ro",
14 isa => "XML::SRS::RegistrarId",
15 xml_required => 0,
16 xml_name => "RegistrarId",
17 ;
18  
19 has_element "results" =>
20 is => "ro",
21 isa => "ArrayRef[XML::SRS::Result|XML::SRS::Error]",
22 xml_nodeName => {
23 Response => "XML::SRS::Result",
24 Error => "XML::SRS::Error",
25 },
26 ;
27  
28 sub root_element { "NZSRSResponse" }
29 with 'XML::SRS', 'XML::SRS::Node', 'XML::SRS::Version';
30  
31 sub BUILDARGS {
32 my $inv = shift;
33 my %args = @_;
34 if ( $args{version} ) {
35 %args = (%args, $inv->buildargs_version($args{version}));
36 }
37 \%args;
38 }
39  
40 1;
41  
« SRS/Handle/Query.pm ↑ Summary SRS.pm »