blib/lib/Password/Policy/Exception/InsufficientNumbers.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 14 | 15 | 93.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Password::Policy::Exception::InsufficientNumbers; | ||||||
2 | $Password::Policy::Exception::InsufficientNumbers::VERSION = '0.03'; | ||||||
3 | 2 | 2 | 7 | use strict; | |||
2 | 3 | ||||||
2 | 59 | ||||||
4 | 2 | 2 | 7 | use warnings; | |||
2 | 3 | ||||||
2 | 43 | ||||||
5 | |||||||
6 | 2 | 2 | 7 | use parent 'Password::Policy::Exception'; | |||
2 | 2 | ||||||
2 | 7 | ||||||
7 | |||||||
8 | 3 | 3 | 0 | 20 | sub error { return "The specified password did not have enough numbers"; } | ||
9 | |||||||
10 | 1; | ||||||
11 | |||||||
12 | __END__ |