File Coverage

lib/Archive/BagIt/Plugin/Algorithm/MD5.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Archive::BagIt::Plugin::Algorithm::MD5;
2 8     8   4456 use strict;
  8         15  
  8         256  
3 8     8   40 use warnings;
  8         14  
  8         267  
4 8     8   38 use Carp qw( croak );
  8         12  
  8         433  
5 8     8   45 use Moo;
  8         11  
  8         46  
6 8     8   2664 use namespace::autoclean;
  8         22  
  8         54  
7             with 'Archive::BagIt::Role::Algorithm', 'Archive::BagIt::Role::OpenSSL';
8             our $VERSION = '0.094'; # VERSION
9             # ABSTRACT: The MD5 algorithm plugin (default for v0.97)
10              
11             has '+plugin_name' => (
12             is => 'ro',
13             default => 'Archive::BagIt::Plugin::Algorithm::MD5',
14             );
15              
16             has '+name' => (
17             is => 'ro',
18             #isa => 'Str',
19             default => 'md5',
20             );
21              
22              
23              
24             __PACKAGE__->meta->make_immutable;
25             1;
26              
27             __END__