| blib/lib/Email/Folder/Search.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 19 | 63.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 71 | 2 | 5 | 0 | $cond{'email'} and $cond{'subject'} |
| 1 | 1 | 3 | $cond{'email'} and $cond{'subject'} and ref $cond{'subject'} eq 'Regexp' | |
| 87 | 1 | 0 | 3 | $address eq $email and $subject =~ /$subject_regexp/ |
| line | l | !l | condition |
|---|---|---|---|
| 56 | 1 | 0 | $self->{'timeout'} //= 3 |
| 128 | 1 | 0 | &blessed($self->{'_folder'}) // '' |
| 133 | 1 | 0 | truncate($self->{'folder_path'}, 0) // die("Cannot clear mailbox $self->{'folder_path'}\n") |
| 150 | 1 | 0 | &blessed($self->{'_folder'}) // '' |
| 153 | 1 | 0 | open(my $fh, '>>', $self->{'folder_path'}) // die("Cannot init mailbox $self->{'folder_path'}\n") |