lib/CtrlO/Crypt/XkcdPassword.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 20 | 100.0 |
line | true | false | branch |
---|---|---|---|
31 | 11 | 6 | if ($args{'wordlist'}) { } |
40 | 3 | 14 | if (-r $object{'wordlist'}) { } |
13 | 1 | elsif ($object{'wordlist'} =~ /::/) { } | |
51 | 1 | 12 | if ($@) |
59 | 9 | 3 | if ($handle) { } |
2 | 1 | elsif (@{"${pkg}::Words";}) { } | |
97 | 2 | 39 | if ($self->_pid != $$) |
102 | 2 | 37 | unless $key eq 'words' or $key eq 'digits' |
105 | 12 | 25 | if (defined $args{$key} and not $args{$key} =~ /^[0-9]+$/) |
119 | 10 | 17 | if (my $d = $args{'digits'}) |