Condition Coverage

blib/lib/SMS/Handler/Email.pm
Criterion Covered Total %
condition 0 113 0.0


and 3 conditions

line !l l&&!r l&&r condition
797 0 0 0 defined $1 and defined $2
932 0 0 0 defined $1 and defined $2
944 0 0 0 $self->_authen($hsms, $source) and $self->_deliver($hsms, $source, $self->_expanded_addresses($to), $subject)
1104 0 0 0 $self->_dele($hsms, $source) and $self->_quit($hsms, $source)
1511 0 0 0 $self->_fetch($hsms, $source) and $self->_translate($hsms, $source)
0 0 0 $self->_fetch($hsms, $source) and $self->_translate($hsms, $source) and $self->_truncate($hsms, $source)
1789 0 0 0 $e and $e->head->get('Content-Type')
0 0 0 $e and $e->head->get('Content-Type') and $e->head->get('Content-Type') =~ /charset="([^\"]+)"/
0 0 0 $$self{'head'}->get('Content-Type') and $$self{'head'}->get('Content-Type') =~ /charset="([^\"]+)"/

or 2 conditions

line l !l condition
413 0 0 $$self{'_state'} ||= {}
1102 0 0 $1 || $$self{'num'} || 1
1160 0 0 $$self{'msg'} ||= 1
1165 0 0 $$self{'num'} || 1
1274 0 0 $$self{'msg'} ||= 1
1279 0 0 $$self{'num'} || 1
1393 0 0 $$self{'msg'} ||= 1
1398 0 0 $$self{'num'} || 1
1499 0 0 $4 || 1
1503 0 0 $$self{'msg'} ||= 1
1508 0 0 $$self{'num'} || 1
1595 0 0 shift() || ''
1603 0 0 shift() || ''
1690 0 0 $self->_do_answer($hsms, \$_) or return
1909 0 0 $ent->head->recommended_filename || ''
2006 0 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
384 0 0 0 $$self{'_state'}{'lang'} || $DefaultLanguage
385 0 0 0 ${$$self{'messages'};}{$lang}{$code} || "*** NO MESSAGE $lang/$code ***"
556 0 0 0 ref $name || $name
1062 0 0 0 $$self{'_state'}{'lang'} || $DefaultLanguage
1165 0 0 0 $$self{'msg'} ||= $$self{'num'} || 1
1172 0 0 0 $self->d_m($$self{'head'}->get('From')) || $self->_msg('REPLY_YOU')
1227 0 0 0 $$self{'head'}->get('Reply-To') || $$self{'head'}->get('From')
1279 0 0 0 $$self{'msg'} ||= $$self{'num'} || 1
1285 0 0 0 $self->d_m($$self{'head'}->get('From')) || $self->_msg('REPLY_YOU')
1340 0 0 0 $$self{'head'}->get('Reply-To') || $$self{'head'}->get('From')
1398 0 0 0 $$self{'msg'} ||= $$self{'num'} || 1
1403 0 0 0 $self->d_m($$self{'head'}->get('From')) || $self->_msg('REPLY_YOU')
1508 0 0 0 $$self{'msg'} ||= $$self{'num'} || 1
1724 0 0 0 $$self{'pops'} or $self->_authen($hsms, $source)
1742 0 0 0 $@ || $$self{'mp'}->last_error
1793 0 0 0 'MIME::WordDecoder'->supported($1) || 'MIME::WordDecoder'->supported('ISO-8859-1')
1800 0 0 0 'MIME::WordDecoder'->supported($1) || 'MIME::WordDecoder'->supported('ISO-8859-1')
1924 0 0 0 $$self{'pops'} or $self->_authen($hsms, $source)