blib/lib/Password/Policy/Exception/InsufficientLength.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::InsufficientLength; | ||||||
2 | $Password::Policy::Exception::InsufficientLength::VERSION = '0.04'; | ||||||
3 | 3 | 3 | 16 | use strict; | |||
3 | 66 | ||||||
3 | 126 | ||||||
4 | 3 | 3 | 16 | use warnings; | |||
3 | 4 | ||||||
3 | 111 | ||||||
5 | |||||||
6 | 3 | 3 | 14 | use parent 'Password::Policy::Exception'; | |||
3 | 3 | ||||||
3 | 18 | ||||||
7 | |||||||
8 | 4 | 4 | 0 | 27 | sub error { return "The specified password was not long enough"; } | ||
9 | |||||||
10 | 1; | ||||||
11 | |||||||
12 | __END__ |