blib/lib/Password/Policy/Encryption/Plaintext.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 16 | 17 | 94.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Password::Policy::Encryption::Plaintext; | ||||||
2 | $Password::Policy::Encryption::Plaintext::VERSION = '0.04'; | ||||||
3 | 3 | 3 | 20644 | use strict; | |||
3 | 5 | ||||||
3 | 95 | ||||||
4 | 3 | 3 | 14 | use warnings; | |||
3 | 5 | ||||||
3 | 94 | ||||||
5 | |||||||
6 | 3 | 3 | 451 | use parent 'Password::Policy::Encryption'; | |||
3 | 264 | ||||||
3 | 13 | ||||||
7 | |||||||
8 | sub enc { | ||||||
9 | 12 | 12 | 0 | 86 | my $self = shift; | ||
10 | 12 | 35 | my $password = $self->prepare(shift); | ||||
11 | 11 | 29 | return $password; | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |