File Coverage

blib/lib/XML/SRS/Contact/Address/Filter.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1              
2             package XML::SRS::Contact::Address::Filter;
3              
4 1     1   1486 use Moose;
  0            
  0            
5             use MooseX::Method::Signatures;
6             use PRANG::Graph;
7              
8             has_attr 'address1' =>
9             is => 'ro',
10             isa => 'Str',
11             xml_required => 0,
12             xml_name => 'Address1',
13             ;
14              
15             has_attr 'address2' =>
16             is => 'ro',
17             isa => 'Str',
18             xml_required => 0,
19             xml_name => 'Address2',
20             ;
21              
22             has_attr 'city' =>
23             is => 'ro',
24             isa => 'Str',
25             xml_required => 0,
26             xml_name => 'City',
27             ;
28              
29             has_attr 'region' =>
30             is => 'ro',
31             isa => 'Str',
32             xml_required => 0,
33             xml_name => 'Province',
34             ;
35              
36             has_attr 'cc' =>
37             is => 'ro',
38             isa => 'Str',
39             xml_required => 0,
40             xml_name => 'CountryCode',
41             ;
42              
43             has_attr 'postcode' =>
44             is => 'ro',
45             isa => 'Str',
46             xml_required => 0,
47             xml_name => 'PostalCode',
48             ;
49              
50             with 'XML::SRS::Node';
51              
52             1;