CAST5_PP.pm

filter: Statementstmt 98.5% 137 / 139 Branchbran 62.5% 15 / 24 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 88.2% 15 / 17 Podpod 100% 6 / 6 totaltotal 91.1% 174 / 191 CC 19 SCAR 14.8
CC
19
Cov
92%
decrypt
7.0
init
7.0
encrypt
6.0
CRAP 4.4
↑ Summary CAST5_PP/Tables.pm »
1 package Crypt::CAST5_PP;
2  
3 1 require 5.004;
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use AutoLoader qw( AUTOLOAD );
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use integer;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use vars qw( @s1 @s2 @s3 @s4 @s5 @s6 @s7 @s8 $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 $VERSION = "1.04";
11  
12 1 ▶sub new {
Subroutine new: called CC=2 SCAR=7.0
Pod documented
13 1 my ($class, $key) = @_;
14 1 my $cast5 = { };
15 1 bless $cast5 => $class;
16 1 ▶ $cast5->init($key) if defined $key;
Branch: 1 branch
BranchTrueFalseTotal
if defined $key 0 1 1
17 1 return $cast5;
18 } # new
19  
20 0 ▶sub blocksize { return 8 }
Subroutine blocksize: not called CC=1 SCAR=6.9
Pod documented
21 0 ▶sub keysize { return 16 }
Subroutine keysize: not called CC=1 SCAR=6.9
Pod documented
22  
23 1 1 # end module
24 __END__
↑ Summary CAST5_PP/Tables.pm »