SRS/Response.pm

filter: Statementstmt 79.3% 23 / 29 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.7% 7 / 9 Podpod 50.0% 1 / 2 totaltotal 73.8% 31 / 42 CC 2 SCAR 7.4
CC
2
Cov
74%
BUILDARGS
6.0
root_element
2.0
BEGIN
1.0
CRAP 2.1
« SRS/TimeStamp.pm ↑ Summary SRS/Request.pm »
1  
2 package XML::SRS::Response;
3 5 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 $XML::SRS::Response::VERSION = '0.09';
5 }
6  
7 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 5 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 5 ▶use XML::SRS::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 5 ▶use XML::SRS::Result;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 5 ▶use XML::SRS::Error;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 5 has_attr "registrar_id" =>
15 is => "ro",
16 isa => "XML::SRS::RegistrarId",
17 xml_required => 0,
18 xml_name => "RegistrarId",
19 ;
20  
21 5 has_element "results" =>
22 is => "ro",
23 isa => "ArrayRef[XML::SRS::Result|XML::SRS::Error]",
24 xml_nodeName => {
25 Response => "XML::SRS::Result",
26 Error => "XML::SRS::Error",
27 },
28 required => 1,
29 ;
30  
31 0 ▶sub root_element {"NZSRSResponse"}
Subroutine root_element: not called CC=1 SCAR=6.9
Pod undocumented
32 5 with 'XML::SRS', 'XML::SRS::Node', 'XML::SRS::Version';
33  
34 0 ▶sub BUILDARGS {
Subroutine BUILDARGS: not called CC=2 SCAR=17.9
Pod documented
35 0 my $inv = shift;
36 0 my %args = @_;
37 0 ▶ if ( $args{version} ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($args{"version"}) 0 0 0
38 0 %args = (%args, $inv->buildargs_version($args{version}));
39 }
40 0 \%args;
41 }
42  
43 5 1;
44  
45 __END__
« SRS/TimeStamp.pm ↑ Summary SRS/Request.pm »