Braintree/DigestSHA256.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 88.8% 24 / 27 CC 1 SCAR 1.5
CC
1
Cov
95%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Braintree/CreditCardVerificationSearch.pm ↑ Summary Braintree/TransparentRedirectGateway.pm »
1 package Net::Braintree::DigestSHA256;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Digest;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Digest::SHA;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS );
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 our @ISA = qw(Exporter);
10 1 our @EXPORT = qw(new);
11 1 our @EXPORT_OK = qw();
12  
13 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
14 0 return Digest->new("SHA-256");
15 }
16  
17 1 1;
« Braintree/CreditCardVerificationSearch.pm ↑ Summary Braintree/TransparentRedirectGateway.pm »