File Coverage

blib/lib/Password/Policy/Exception/InvalidAlgorithm.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 15 80.0


line stmt bran cond sub pod time code
1             package Password::Policy::Exception::InvalidAlgorithm;
2             {
3             $Password::Policy::Exception::InvalidAlgorithm::VERSION = '0.02';
4             }
5              
6 4     4   22 use strict;
  4         8  
  4         183  
7 4     4   23 use warnings;
  4         7  
  4         140  
8              
9 4     4   18 use parent 'Password::Policy::Exception';
  4         8  
  4         22  
10              
11 0     0 0   sub error { return "You specified an algorithm that is not available"; }
12              
13             1;
14              
15              
16              
17             =pod
18              
19             =head1 NAME
20              
21             Password::Policy::Exception::InvalidAlgorithm
22              
23             =head1 VERSION
24              
25             version 0.02
26              
27             =head1 AUTHOR
28              
29             Andrew Nelson
30              
31             =head1 COPYRIGHT AND LICENSE
32              
33             This software is copyright (c) 2012 by Andrew Nelson.
34              
35             This is free software; you can redistribute it and/or modify it under
36             the same terms as the Perl 5 programming language system itself.
37              
38             =cut
39              
40              
41             __END__