| line |
true |
false |
branch |
|
65
|
1 |
2 |
if (-e $filename) |
|
80
|
2 |
6 |
if ($entry =~ m[^otpauth://totp/]) { } |
|
|
5 |
1 |
elsif ($entry =~ /^[^:]+:[^:]+$/) { } |
|
84
|
1 |
1 |
if (exists $data->{$key}) { } |
|
96
|
1 |
4 |
if (exists $data->{$key}) { } |
|
125
|
2 |
2 |
if ($search) |
|
126
|
1 |
1 |
if index(lc $account, lc $search) == -1 |
|
150
|
2 |
7 |
if ($search) |
|
151
|
1 |
1 |
if index(lc $account, lc $search) == -1 |
|
153
|
7 |
1 |
if length $account > $max_len |
|
158
|
2 |
7 |
if ($search) |
|
159
|
1 |
1 |
if index(lc $account, lc $search) == -1 |
|
203
|
11 |
1 |
if $self->{'filename'} ne $filename |
|
231
|
2 |
3 |
unless (-e $lockfilename) |
|
237
|
3 |
2 |
unless (flock $lockh, 6) |
|
248
|
9 |
4 |
unless open my $file, '<', $filename |
|
262
|
1 |
8 |
unless open my $file, '>', $filename |
|
272
|
1 |
7 |
if $self->{'newpass'} |
|
289
|
1 |
6 |
unless ($d) |
|
301
|
8 |
20 |
unless exists $self->{'data_plaintext'} |
|
307
|
12 |
13 |
unless exists $self->{'data_encrypted'} |
|
333
|
0 |
0 |
if ($App::OATH::OSNAME eq 'MSWin32') { } |
|
344
|
13 |
2 |
if $self->{'password'} |