File Coverage

blib/lib/Net/Amazon/S3/Constraint/Etag.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::S3::Constraint::Etag;
2             # ABSTRACT: Moose constraint - Etag format
3             $Net::Amazon::S3::Constraint::Etag::VERSION = '0.99';
4 99     99   738 use Moose::Util::TypeConstraints;
  99         224  
  99         833  
5              
6             type __PACKAGE__, where { $_ =~ /^[a-z0-9]{32}(?:-\d+)?$/ };
7              
8             1;
9              
10             __END__
11              
12             =pod
13              
14             =encoding UTF-8
15              
16             =head1 NAME
17              
18             Net::Amazon::S3::Constraint::Etag - Moose constraint - Etag format
19              
20             =head1 VERSION
21              
22             version 0.99
23              
24             =head1 AUTHOR
25              
26             Branislav Zahradník <barney@cpan.org>
27              
28             =head1 COPYRIGHT AND LICENSE
29              
30             This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
31              
32             This is free software; you can redistribute it and/or modify it under
33             the same terms as the Perl 5 programming language system itself.
34              
35             =cut