Condition Coverage

blib/lib/Net/SNPP.pm
Criterion Covered Total %
condition 9 50 18.0


and 3 conditions

line !l l&&!r l&&r condition
127 0 0 1 $me->_DATA && $me->datasend(@_)
129 0 0 1 $ok and @_

or 2 conditions

line l !l condition
41 1 0 $arg{'Port'} || 'snpp(444)'
101 1 0 $me->_MESS($arg{'Message'}) or return 0
104 1 0 $me->hold($arg{'Hold'}) or return 0
107 0 0 $me->hold($arg{'HoldLocal'}, 1) or return 0
110 0 0 $me->_COVE($arg{'Coverage'}) or return 0
113 1 0 $me->_ALER($arg{'Alert'} ? 1 : 0) or return 0
116 0 0 $me->service_level($arg{'ServiceLevel'}) or return 0

or 3 conditions

line l !l&&r !l&&!r condition
32 0 1 0 ref $self || $self
137 0 0 0 @_ == 2 or @_ == 3
174 0 0 0 $level < 0 or $level > 11
185 0 0 0 @_ == 1 or @_ == 2
187 0 0 0 @_ == 1 || shift()
200 1 0 0 @_ == 2 or @_ == 3
275 0 0 0 $resp == 9 or $resp == 8
0 0 0 $resp == 9 or $resp == 8 or $resp == 7
305 0 0 0 $out[3] == 9 or $out[3] == 8
363 0 0 17 $more ||= $code == 214