File Coverage

blib/lib/Password/Policy/Exception/ReusedPassword.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::ReusedPassword;
2             $Password::Policy::Exception::ReusedPassword::VERSION = '0.03';
3 4     4   27 use strict;
  4         4  
  4         131  
4 4     4   17 use warnings;
  4         4  
  4         89  
5              
6 4     4   13 use parent 'Password::Policy::Exception';
  4         4  
  4         17  
7              
8 2     2 0 13 sub error { return "You specified a password you have used too recently"; }
9              
10             1;
11              
12             __END__