| blib/lib/Password/Policy.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 23 | 47.8 |
| line | l | !l | condition |
|---|---|---|---|
| 27 | 1 | 2 | $args{'previous'} || [] |
| 86 | 8 | 8 | shift() || 'default' |
| 98 | 0 | 12 | $$rules{'algorithm_args'} || {} |
| 138 | 8 | 0 | $$args{'algorithm_args'} || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 88 | 16 | 0 | 0 | $$rules{$profile} || 'Password::Policy::Exception::InvalidProfile'->throw |
| 94 | 12 | 0 | 0 | $$args{'password'} || 'Password::Policy::Exception::EmptyPassword'->throw |
| 97 | 12 | 0 | 0 | $$rules{'algorithm'} || 'Password::Policy::Exception::NoAlgorithm'->throw |
| 136 | 8 | 0 | 0 | $$args{'password'} || 'Password::Policy::Exception::EmptyPassword'->throw |
| 137 | 8 | 0 | 0 | $$args{'algorithm'} || 'Password::Policy::Exception::NoAlgorithm'->throw |