| 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.03'; | ||||||
| 3 | 3 | 3 | 19921 | use strict; | |||
| 3 | 5 | ||||||
| 3 | 94 | ||||||
| 4 | 3 | 3 | 10 | use warnings; | |||
| 3 | 3 | ||||||
| 3 | 70 | ||||||
| 5 | |||||||
| 6 | 3 | 3 | 456 | use parent 'Password::Policy::Encryption'; | |||
| 3 | 233 | ||||||
| 3 | 12 | ||||||
| 7 | |||||||
| 8 | sub enc { | ||||||
| 9 | 12 | 12 | 0 | 82 | my $self = shift; | ||
| 10 | 12 | 35 | my $password = $self->prepare(shift); | ||||
| 11 | 11 | 34 | return $password; | ||||
| 12 | } | ||||||
| 13 | |||||||
| 14 | 1; | ||||||
| 15 | |||||||
| 16 | __END__ |