Branch Coverage

blib/lib/Net/LMTP.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
32 0 0 unless (defined $host)
36 0 0 unless (defined $port)
41 0 0 defined $arg{'Timeout'} ? :
50 0 0 exists $arg{'Debug'} ? :
52 0 0 unless ($obj->response == CMD_OK())
63 0 0 unless ($obj->hello($arg{'Hello'} || ''))
92 0 0 if defined $self->supports('ETRN', 500, [q[Command unknown: 'ETRN']])
108 0 0 if ($ok)
113 0 0 if $ln =~ /(\S+)\b[ \t]*([^\n]*)/
118 0 0 $ok && $msg[0] =~ /\A(\S+)/ ? :
127 0 0 if exists ${*$self;}{'net_lmtp_lmtp'}{$cmd}
128 0 0 if @_
137 0 0 if $addr =~ /(<[^>]+>)/so
153 0 0 if (@_)
158 0 0 if (exists ${*$me;}{'net_lmtp_lmtp'}) { }
162 0 0 if (defined($v = delete $opt{'Size'}))
164 0 0 if (exists $$lmtp{'SIZE'}) { }
174 0 0 if (defined($v = delete $opt{'Return'}))
176 0 0 if (exists $$lmtp{'DSN'}) { }
186 0 0 if (defined($v = delete $opt{'Bits'}))
188 0 0 if (exists $$lmtp{'8BITMIME'}) { }
190 0 0 $v == 8 ? :
198 0 0 if (defined($v = delete $opt{'Transaction'}))
200 0 0 if (exists $$lmtp{'CHECKPOINT'}) { }
210 0 0 if (defined($v = delete $opt{'Envelope'}))
212 0 0 if (exists $$lmtp{'DSN'}) { }
223 0 0 if scalar keys %opt
246 0 0 if exists ${*$me;}{'net_lmtp_lastch'}
258 0 0 if (@_ and ref $_[-1])
265 0 0 if (exists ${*$lmtp;}{'net_lmtp_lmtp'}) { }
0 0 elsif (%opt) { }
269 0 0 if (defined($v = delete $opt{'Notify'}))
271 0 0 if (exists $$lmtp{'DSN'}) { }
281 0 0 if scalar keys %opt
296 0 0 if ($lmtp->_RCPT('TO:' . _addr($addr) . $opts)) { }
0 0 elsif (not $skip_bad) { }
297 0 0 if $skip_bad
304 0 0 $skip_bad ? :
315 0 0 $ok && @_ ? :
323 0 0 $me->_EXPN(@_) ? :
334 0 0 $me->_HELP(@_) ? :