| blib/lib/App/Raps2.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 0 | 1 | unless ($opt{'no_cli'}) |
| 32 | 1 | 0 | unless ($opt{'dont_touch_fs'}) |
| 38 | 1 | 0 | if ($opt{'master_password'}) |
| 52 | 3 | 32 | unless ($key and $value) |
| 66 | 1 | 0 | unless (-e $$self{'xdg_conf'} . '/password') |
| 69 | 1 | 0 | unless (-e $$self{'xdg_conf'} . '/defaults') |
| 79 | 0 | 1 | unless (defined $pass) |
| 170 | 13 | 0 | if (defined $$self{'pass'}) { } |
| 191 | 0 | 1 | unless open my $pwgen, '-|', $self->conf('pwgen_cmd') |
| 193 | 0 | 1 | unless close $pwgen |
| 214 | 1 | 1 | $data{'extra'} ? : |
| 249 | 2 | 1 | $$key{'extra'} ? : |