SRS/Request.pm

filter: Statementstmt 82.3% 28 / 34 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 8 / 10 Podpod 50.0% 1 / 2 totaltotal 77.0% 37 / 48 CC 2 SCAR 6.9
CC
2
Cov
78%
BUILDARGS
6.0
root_element
2.0
BEGIN
1.0
CRAP 2.0
« SRS/Response.pm ↑ Summary SRS/Types.pm »
1  
2 package XML::SRS::Request;
3 5 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 $XML::SRS::Request::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  
11 5 ▶use XML::SRS::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 5 ▶use XML::SRS::Query;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 5 ▶use XML::SRS::Action;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 5 ▶use XML::SRS::ActionResponse;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 5 has_attr "registrar_id" =>
18 is => "ro",
19 isa => "XML::SRS::RegistrarId",
20 xml_name => "RegistrarId",
21 xml_required => 0,
22 ;
23  
24 5 role_type 'XML::SRS::Action';
25 5 role_type 'XML::SRS::Query';
26  
27 5 has_element "requests" =>
28 is => "ro",
29 isa => "ArrayRef[XML::SRS::Action|XML::SRS::Query]",
30 required => 1,
31 ;
32  
33 0 ▶sub root_element {"NZSRSRequest"}
Subroutine root_element: not called CC=1 SCAR=6.9
Pod undocumented
34 5 with 'XML::SRS', "XML::SRS::Version";
35  
36 0 ▶sub BUILDARGS {
Subroutine BUILDARGS: not called CC=2 SCAR=17.9
Pod documented
37 0 my $inv = shift;
38 0 my %args = @_;
39 0 ▶ if ( $args{version} ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($args{"version"}) 0 0 0
40 0 %args = (%args, $inv->buildargs_version($args{version}));
41 }
42 0 \%args;
43 }
44  
45 5 1;
46  
47 __END__
« SRS/Response.pm ↑ Summary SRS/Types.pm »