Branch Coverage

blib/lib/Net/EMI/Client.pm
Criterion Covered Total %
branch 0 116 0.0


line true false branch
29 0 0 unless defined $$self{'SOCK'}
30 0 0 unless (defined $$self{'SOCK'})
31 0 0 wantarray ? :
0 0 defined wantarray ? :
34 0 0 unless (defined $args{'SMSC_ID'} and length $args{'SMSC_ID'})
35 0 0 if $$self{'WARN'}
36 0 0 wantarray ? :
0 0 defined wantarray ? :
39 0 0 unless (defined $args{'SMSC_PW'} and length $args{'SMSC_PW'})
40 0 0 if $$self{'WARN'}
41 0 0 wantarray ? :
0 0 defined wantarray ? :
96 0 0 unless (defined $$self{'SOCK'})
97 0 0 if $$self{'WARN'}
108 0 0 unless defined $$self{'SOCK'}
128 0 0 if (defined $args{'TIMEOUT'}) { }
136 0 0 unless (defined $args{'RECIPIENT'} and length $args{'RECIPIENT'})
137 0 0 if $$self{'WARN'}
138 0 0 wantarray ? :
0 0 defined wantarray ? :
142 0 0 unless ($args{'RECIPIENT'} =~ /^\d+$/)
143 0 0 if $$self{'WARN'}
144 0 0 wantarray ? :
0 0 defined wantarray ? :
148 0 0 unless defined $args{'MESSAGE_TEXT'}
150 0 0 defined $args{'SENDER_TEXT'} && length $args{'SENDER_TEXT'} ? :
260 0 0 $args{'WARN'} ? :
0 0 defined $args{'WARN'} ? :
265 0 0 unless (defined $args{'SMSC_HOST'} and length $args{'SMSC_HOST'})
266 0 0 if $$self{'WARN'}
271 0 0 unless (defined $args{'SMSC_PORT'} and length $args{'SMSC_PORT'})
272 0 0 if $$self{'WARN'}
277 0 0 unless ($args{'SMSC_PORT'} =~ /^\d+$/)
278 0 0 if $$self{'WARN'}
286 0 0 defined $args{'SENDER_TEXT'} && length $args{'SENDER_TEXT'} ? :
294 0 0 $@ ? :
305 0 0 unless (defined $timeout)
317 0 0 if ($$self{'CAN_ALARM'}) { }
326 0 0 if $@ and $@ ne "alarm\n"
332 0 0 unless (defined $rd)
334 0 0 if $$self{'WARN'}
335 0 0 wantarray ? :
0 0 defined wantarray ? :
337 0 0 unless ($rd)
339 0 0 if $$self{'WARN'}
340 0 0 wantarray ? :
0 0 defined wantarray ? :
346 0 0 if ($acknack eq 'A') { }
354 0 0 wantarray ? :
0 0 defined wantarray ? :
380 0 0 $args{'WARN'} ? :
0 0 defined $args{'WARN'} ? :
383 0 0 if (defined $args{'TIMEOUT'})
384 0 0 if ($args{'TIMEOUT'} =~ /\D/) { }
0 0 elsif ($args{'TIMEOUT'} > 60) { }
385 0 0 if $$self{'WARN'}
401 0 0 if $$self{'WARN'}
426 0 0 if ($$self{'TRN'} > 99)