blib/lib/Mail/Spool.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 68 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
91 | 1 | 0 | 0 | @_ && ref $_[0] |
270 | 0 | 0 | 0 | $ok and not $error |
355 | 0 | 1 | 0 | @_ and $_[0] |
0 | 0 | 1 | @_ and $_[0] and ref $_[0] | |
0 | 0 | 1 | @_ and $_[0] and ref $_[0] and $_[0]->isa('Mail::Spool') | |
362 | 0 | 1 | 0 | @_ && ref $_[0] |
373 | 0 | 1 | 0 | ref $to and @$to |
467 | 0 | 0 | 1 | @_ && ref $_[0] |
518 | 0 | 0 | 1 | @_ && ref $_[0] |
552 | 0 | 0 | 0 | @_ && ref $_[0] |
558 | 0 | 0 | 0 | @to and ref $to[0] |
line | l | !l | condition |
---|---|---|---|
90 | 1 | 0 | ref $type || $type || 'Mail::Spool' |
260 | 0 | 0 | eval { do { $self->send_mail('to', $node->to, 'from', $node->from, 'filehandle', $fh, 'delivery', 'Interactive', 'timeout', $self->max_connection_time, 'id', $node->id) } } || '' |
267 | 0 | 0 | $@ || '' |
392 | 1 | 0 | $m->head->get('From') || undef |
406 | 0 | 1 | $$args{'delivery'} ||= 'Deferred' |
415 | 0 | 1 | $$args{'id'} || undef |
469 | 1 | 0 | $$args{'message'} || undef |
477 | 0 | 0 | $$args{'filehandle'} || undef |
540 | 1 | 0 | $node->filehandle('w') || die("Couldn't open node [$!]") |
708 | 0 | 0 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
125 | 1 | 0 | 0 | shift() || 'Mail::Spool'->new |
238 | 0 | 0 | 0 | shift() || 'Mail::Spool'->new(@_) |
297 | 0 | 0 | 0 | $node->from or length $node->from |
417 | 0 | 0 | 1 | $m->head->get('Received') || () |
473 | 0 | 1 | 0 | not $ref or $ref eq 'SCALAR' |