Condition Coverage

blib/lib/Net/SMTP.pm
Criterion Covered Total %
condition 13 64 20.3


and 3 conditions

line !l l&&!r l&&r condition
174 0 0 0 ref $username and UNIVERSAL::isa($username, 'Authen::SASL')
222 0 0 0 defined $str and length $str
348 0 0 0 exists $esmtp->{'BINARYMIME'} and exists $esmtp->{'CHUNKING'}
448 0 0 0 @_ and ref $_[-1]
510 0 0 0 $me->_DATA && $me->datasend(@_)
512 0 0 0 $ok && @_
525 0 0 0 $me->_BDAT(length $data) and $me->rawdatasend($data)
541 0 0 0 $me->_BDAT(length $data, 'LAST') and $me->rawdatasend($data)
628 0 0 3 not defined $arg{'SSL_hostname'} and $class->can_client_sni

or 2 conditions

line l !l condition
69 0 2 $arg{'Port'} ||= 465
87 2 1 $arg{'Port'} || 'smtp(25)'
118 0 3 $arg{'Hello'} || ''
143 0 0 do { *$me }->{'net_smtp_banner'} || undef
150 0 0 do { *$me }->{'net_smtp_domain'} || undef
243 1 3 shift() || 'localhost.localdomain'
263 4 0 $1 || ' '
629 0 3 $arg{'SSL_verifycn_scheme'} ||= 'smtp'

or 3 conditions

line l !l&&r !l&&!r condition
55 0 3 0 ref $self || $self
87 0 0 3 $arg{'Domain'} || $arg{'Family'}
117 3 0 0 not exists $arg{'SendHello'} or $arg{'SendHello'}
177 0 0 0 not defined $requested_mechanisms or $requested_mechanisms eq ''
339 0 0 0 exists $esmtp->{'8BITMIME'} or exists $esmtp->{'BINARYMIME'}
399 0 0 0 not defined $v or $v eq ''
625 3 0 0 $arg{'SSL_verifycn_name'} ||= $smtp->host