File Coverage

blib/lib/XML/SRS/ACL/Entry.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::ACL::Entry;
3              
4 1     1   1723 use Moose;
  0            
  0            
5             use PRANG::Graph;
6              
7             has_attr 'Address' =>
8             is => "ro",
9             isa => "Str", # actually an IPv4/IPv6 address/network
10             xml_required => 0,
11             ;
12              
13             has_attr 'DomainName' =>
14             is => "ro",
15             isa => "Str", # actually an valid domain name
16             xml_required => 0,
17             ;
18              
19             has_attr 'RegistrarId' =>
20             is => "ro",
21             isa => "XML::SRS::RegistrarId",
22             xml_required => 0,
23             ;
24              
25             has_attr 'Comment' =>
26             is => "ro",
27             isa => "Str",
28             xml_required => 0,
29             ;
30              
31             has_element 'effective' =>
32             is => "ro",
33             isa => "XML::SRS::TimeStamp",
34             xml_nodeName => "EffectiveDate",
35             predicate => "has_effective",
36             ;
37              
38             with 'XML::SRS::Node';
39              
40             1;