File Coverage

blib/lib/XML/SRS/Server/Filter.pm
Criterion Covered Total %
statement 2 4 50.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 4 6 66.6


line stmt bran cond sub pod time code
1              
2             package XML::SRS::Server::Filter;
3             BEGIN {
4 1     1   1802 $XML::SRS::Server::Filter::VERSION = '0.09';
5             }
6              
7 1     1   386 use Moose;
  0            
  0            
8             use PRANG::Graph;
9             use XML::SRS::Types;
10              
11             use Moose::Util::TypeConstraints;
12              
13             has_attr 'fqdn' =>
14             is => "ro",
15             isa => "XML::SRS::DomainName",
16             xml_name => "FQDN",
17             xml_required => 0,
18             ;
19              
20             has_attr 'ipv4_addr' =>
21             is => "ro",
22             isa => "XML::SRS::IPv4",
23             xml_name => "IP4Addr",
24             xml_required => 0,
25             ;
26              
27             has_attr 'ipv6_addr' =>
28             is => "ro",
29             isa => "XML::SRS::IPv6",
30             xml_name => "IP6Addr",
31             xml_required => 0,
32             ;
33              
34             with 'XML::SRS::Node';
35              
36             1;