Branch Coverage

blib/lib/Net/SMS/BulkSMS.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
56 0 0 if ($$this{'test'})
62 0 0 unless $$this{'password'} and $$this{'username'}
71 0 0 unless ref $this
76 0 0 unless $url
77 0 0 unless $url =~ m[/$]
78 0 0 unless $arg{'txn'}
83 0 0 if (defined $arg{'sender'})
87 0 0 if $count > $max_length
91 0 0 if (defined $arg{'message'})
97 0 0 if $count > $max_length
101 0 0 if (defined $arg{'msisdn'})
110 0 0 if $s =~ /\D/
117 0 0 if $h{$_} > 1
119 0 0 if scalar @dupno > 0
121 0 0 if scalar @telno <= 0
124 0 0 if ($max_recipients and $count > $max_recipients)
133 0 0 unless defined $arg{$_}
142 0 0 if ($res->is_success) { }
0 0 elsif ($res->is_error) { }
212 0 0 unless $arg{'message'} and $arg{'msisdn'}
213 0 0 $arg{'quote'} ? :
216 0 0 if $$this{'signature_datetime'}
233 0 0 if $webcode
248 0 0 unless $webcode
251 0 0 if $code eq '0'
252 0 0 if $code ne '40'
262 0 0 unless $webcode
265 0 0 if $code eq '1000'
321 0 0 unless defined $arg{'msg_id'}
323 0 0 unless $webcode
327 0 0 if $code ne '1000'