File Coverage

lib/Crypt/Perl/X/UnknownHash.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 15 16 93.7


line stmt bran cond sub pod time code
1             package Crypt::Perl::X::UnknownHash;
2              
3 1     1   929 use strict;
  1         3  
  1         44  
4 1     1   5 use warnings;
  1         2  
  1         35  
5              
6 1     1   7 use parent 'Crypt::Perl::X::Base';
  1         1  
  1         8  
7              
8             sub new {
9 1     1 0 4 my ($class, $hash_name) = @_;
10              
11 1         9 return $class->SUPER::new( "This framework does not know a hashing algorithm named “$hash_name”." );
12             }
13              
14             1;