SRS/Handle/Query.pm

filter: Statementstmt 96.4% 27 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 91.6% 33 / 36 SCAR 0.0
CC
1
Cov
96%
root_element
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SRS/GetMessages.pm ↑ Summary SRS/Response.pm »
1  
2 package XML::SRS::Handle::Query;
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 PRANG::XMLSchema::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use XML::SRS::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use PRANG::Coerce;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 # attributes
12 1 has_attr 'max_results' =>
13 is => 'ro',
14 isa => 'XML::SRS::Number',
15 xml_name => 'MaxResults',
16 xml_required => 0,
17 ;
18  
19 1 has_attr 'skip_results' =>
20 is => 'ro',
21 isa => 'XML::SRS::Number',
22 xml_name => 'SkipResults',
23 xml_required => 0,
24 ;
25  
26 1 has_attr 'count_results' =>
27 is => 'ro',
28 isa => 'XML::SRS::Boolean',
29 xml_name => 'CountResults',
30 xml_required => 0,
31 ;
32  
33 # elements
34 1 has_element 'handle_id_filter' =>
35 is => 'rw',
36 isa => 'PRANG::Coerce::ArrayRefOfStrs',
37 xml_nodeName => 'HandleIdFilter',
38 xml_required => 0,
39 coerce => 1,
40 ;
41  
42 1 has_element 'search_date_range' =>
43 is => 'ro',
44 isa => 'XML::SRS::Date::Range',
45 xml_required => 0,
46 xml_nodeName => 'SearchDateRange',
47 ;
48  
49 1 has_element 'changed_in_date_range' =>
50 is => 'ro',
51 isa => 'XML::SRS::Date::Range',
52 xml_required => 0,
53 xml_nodeName => 'ChangedInDateRange',
54 ;
55  
56 1 has_element 'contact_filter' =>
57 is => 'ro',
58 isa => 'XML::SRS::Contact::Filter',
59 xml_nodeName => 'ContactFilter',
60 xml_required => 0,
61 ;
62  
63 0 ▶sub root_element { 'HandleDetailsQry' }
Subroutine root_element: not called CC=1 SCAR=6.9
Pod undocumented
64 1 with 'XML::SRS::Query';
65  
66 1 1;
« SRS/GetMessages.pm ↑ Summary SRS/Response.pm »