SRS/Request.pm

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