Policy/Encryption/ROT13.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.8% 23 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Policy/Encryption/Plaintext.pm ↑ Summary
1 package Password::Policy::Encryption::ROT13;
2 2 $Password::Policy::Encryption::ROT13::VERSION = '0.06';
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use parent 'Password::Policy::Encryption';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶use String::Multibyte;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 6 ▶sub enc {
Subroutine enc: called CC=1 SCAR=0.0
Pod undocumented
11 6 my $self = shift;
12 6 my $password = $self->prepare(shift);
13 5 my $strmb = String::Multibyte->new('UTF8');
14 5 return $strmb->strrev($password);
15 }
16  
17 2 1;
18  
19 __END__
« Policy/Encryption/Plaintext.pm ↑ Summary