lib/Crypt/Perl/X/UnknownHash.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Crypt/Perl/X/TooLongToSign.pm ↑ Summary lib/Crypt/Perl/X.pm »
1 package Crypt::Perl::X::UnknownHash;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent 'Crypt::Perl::X::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub new {
9 1 ▶ my ($class, $hash_name) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
10  
11 1 return $class->SUPER::new( "This framework does not know a hashing algorithm named “$hash_name”." );
12 }
13  
14 1 1;
« lib/Crypt/Perl/X/TooLongToSign.pm ↑ Summary lib/Crypt/Perl/X.pm »