| blib/lib/App/Tel/Passwd/Pass.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 18 | 66.6 | 
| line | true | false | branch | 
|---|---|---|---|
| 42 | 0 | 7 | $^O =~ /(freebsd|openbsd|netbsd|solaris)/ ? : | 
| 44 | 0 | 7 | unless (-x $self->{'gpg'}) | 
| 48 | 1 | 6 | unless (defined $self->{'file'} and -r $self->{'file'}) | 
| 58 | 0 | 6 | if ($@) | 
| 120 | 1 | 38 | if /BAD_PASSPHRASE|DECRYPTION_FAILED/ | 
| 135 | 1 | 6 | unless defined $file | 
| 136 | 1 | 5 | unless ($file =~ /.gpg$/) | 
| 140 | 6 | 0 | if $file =~ m[^/] | 
| 142 | 0 | 0 | if (defined $ENV{'PASSWORD_STORE_DIR'}) |