Condition Coverage

blib/lib/Mail/IspMailGate.pm
Criterion Covered Total %
condition 10 48 20.8


and 3 conditions

line !l l&&!r l&&r condition
167 0 0 0 not $msender =~ /\@/ and $$cfg{'unqualified_domain'}
259 0 0 0 $smtp->dataend and $smtp->quit
276 0 0 0 $smtp->mail($sender) and $smtp->to($$cfg{'postmaster'})
0 0 0 $smtp->mail($sender) and $smtp->to($$cfg{'postmaster'}) and $smtp->data
0 0 0 $smtp->mail($sender) and $smtp->to($$cfg{'postmaster'}) and $smtp->data and $smtp->datasend("Failed to parse mail, kept in $keepFile\n")
0 0 0 $smtp->mail($sender) and $smtp->to($$cfg{'postmaster'}) and $smtp->data and $smtp->datasend("Failed to parse mail, kept in $keepFile\n") and $smtp->dataend
330 1 8 0 !$rec || $recipient =~ /$rec/ and !$sen || $sender =~ /$sen/
484 0 0 5 $$r[1] eq $eOrig and $fOrig->IsEq($$r[2])

or 3 conditions

line l !l&&r !l&&!r condition
262 0 0 0 $ifh->error or not $ifh->close
268 0 0 0 -d $keepDir or mkdir $keepDir, 504
330 0 8 1 !$rec || $recipient =~ /$rec/
8 0 0 !$sen || $sender =~ /$sen/
336 8 0 0 $filters ||= $$cfg{'default_filter'}
375 0 0 8 -d $tmpDir or mkdir $tmpDir, 504
411 0 0 8 $@ or not $entity
524 0 8 0 ref $class || $class