SRS/Handle.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 90.0% 18 / 20 CC 1 SCAR 1.5
CC
1
Cov
93%
root_element
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« SRS/Registrar/Query.pm ↑ Summary SRS/Handle/Query.pm »
1  
2 package XML::SRS::Handle;
3 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 $XML::SRS::Handle::VERSION = '0.09';
5 }
6 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use XML::SRS::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 extends 'XML::SRS::Contact';
12  
13 has '+handle_id' =>
14 required => 1,
15 ;
16  
17 has_attr 'registrar_id' =>
18 is => "rw",
19 isa => "XML::SRS::RegistrarId",
20 xml_required => 0,
21 xml_name => "RegistrarId",
22 ;
23  
24 has_element 'created_date' =>
25 is => 'ro',
26 isa => 'XML::SRS::TimeStamp',
27 xml_required => 0,
28 xml_nodeName => 'CreatedDate',
29  
30 #coerce => 1,
31 ;
32  
33 has_element 'audit' =>
34 is => "rw",
35 isa => "XML::SRS::AuditDetails",
36 xml_nodeName => "AuditDetails",
37 predicate => "has_audit",
38 ;
39  
40 has_element 'changed_domains' =>
41 is => "ro",
42 isa => "XML::SRS::ChangedDomains",
43 xml_nodeName => "ChangedDomains",
44 predicate => "has_changed_domains",
45 ;
46  
47 has_attr 'action_id' =>
48 is => "rw",
49 isa => "XML::SRS::UID",
50 xml_name => 'ActionId',
51 xml_required => 0,
52 ;
53  
54 0 ▶sub root_element {
Subroutine root_element: not called CC=1 SCAR=6.9
55 0 "Handle";
56 }
57 with 'XML::SRS::ActionResponse';
58  
59 1;
« SRS/Registrar/Query.pm ↑ Summary SRS/Handle/Query.pm »