SRS/Error.pm

filter: Statementstmt 94.4% 17 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 86.9% 20 / 23 SCAR 0.0
CC
1
Cov
94%
root_element
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SRS/Registrar/Query.pm ↑ Summary SRS/Domain/Create.pm »
1  
2 package XML::SRS::Error;
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 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 0 ▶sub root_element { "Error" }
Subroutine root_element: not called CC=1 SCAR=6.9
Pod undocumented
9  
10 1 has_attr "error_id" =>
11 is => "ro",
12 isa => "XML::SRS::UID",
13 required => 1,
14 xml_name => "ErrorId",
15 ;
16  
17 1 enum "XML::SRS::Error::Severity" =>
18 qw( alert crit err );
19  
20 1 has_attr "severity" =>
21 is => "ro",
22 isa => "XML::SRS::Error::Severity",
23 required => 1,
24 xml_name => "Severity",
25 ;
26  
27 1 has_attr "hint" =>
28 is => "ro",
29 isa => "XML::SRS::UID", # odd
30 required => 1,
31 xml_name => "Hint",
32 ;
33  
34 1 has_element "desc" =>
35 is => "ro",
36 isa => "Str",
37 xml_nodeName => "Description",
38 ;
39  
40 1 has_element "details" =>
41 is => "ro",
42 isa => "ArrayRef[Str]",
43 xml_min => 0,
44 xml_nodeName => "ErrorDetails",
45 auto_deref => 1,
46 ;
47  
48 1 with 'XML::SRS::ActionResponse';
49  
50 1 1;
« SRS/Registrar/Query.pm ↑ Summary SRS/Domain/Create.pm »