Algorithm/SHA256.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary Manifest/SHA256.pm »
1 package Archive::BagIt::Plugin::Algorithm::SHA256;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Carp qw( croak );
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 with 'Archive::BagIt::Role::Algorithm';
8 1 with 'Archive::BagIt::Role::OpenSSL';
9 1 our $VERSION = '0.001'; # TRIAL VERSION
10 # ABSTRACT: The SHA256 algorithm plugin
11  
12 1 has '+plugin_name' => (
13 is => 'ro',
14 default => 'Archive::BagIt::Plugin::Algorithm::SHA256',
15 );
16  
17 1 has '+name' => (
18 is => 'ro',
19 #isa => 'Str',
20 default => 'sha256',
21 );
22  
23 1 __PACKAGE__->meta->make_immutable;
24 1 1;
25  
26 __END__
↑ Summary Manifest/SHA256.pm »