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