blib/lib/XML/SRS/GetMessages/TypeFilter.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::GetMessages::TypeFilter; | ||||||
3 | BEGIN { | ||||||
4 | 1 | 1 | 9901 | $XML::SRS::GetMessages::TypeFilter::VERSION = '0.09'; | |||
5 | } | ||||||
6 | |||||||
7 | 1 | 1 | 434 | use Moose; | |||
0 | |||||||
0 | |||||||
8 | use PRANG::Graph; | ||||||
9 | |||||||
10 | use Moose::Util::TypeConstraints; | ||||||
11 | |||||||
12 | enum "XML::SRS::GetMessagesTypes" => | ||||||
13 | qw(third-party server-generated-data); | ||||||
14 | |||||||
15 | has_attr "Type" => | ||||||
16 | is => "ro", | ||||||
17 | isa => "XML::SRS::GetMessagesTypes", | ||||||
18 | ; | ||||||
19 | |||||||
20 | with 'XML::SRS::Node'; | ||||||
21 | |||||||
22 | 1; |