Branch Coverage

blib/lib/Net/SMS/2Way.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
47 0 0 if $$ref{'config'}
52 0 0 if ($$ref{$key} eq '')
61 0 0 if ($$ref{$key} eq '')
70 0 0 if ($$ref{$key} eq '')
79 0 0 if ($$ref{$key} eq '')
86 0 0 if $$ref{'http_proxy'} ne ''
91 0 0 if $error
107 0 0 unless $number =~ /\d/
109 0 0 if $$this{'sa_numbers_only'} > 0 and not $number =~ /^(27|0[78])/
111 0 0 if ($$this{'sa_numbers_only'} > 0 and $number =~ /^(27[78])/)
117 0 0 if ($number eq '')
127 0 0 unless $recipient_count
133 0 0 unless (@tmp = $this->http_post($url, $args))
142 0 0 if $$this{'verbose'} > 0
162 0 0 unless $number =~ /\d/
164 0 0 if $$this{'sa_numbers_only'} > 0 and not $number =~ /^(27|0[78])/
166 0 0 if ($$this{'sa_numbers_only'} > 0 and $number =~ /^(27[78])/)
172 0 0 if ($number eq '')
185 0 0 if (exists $$this{$option} and $$this{$option} ne '')
197 0 0 if ($$this{'quote'} > 0)
203 0 0 unless (@tmp = $this->http_post($url, $args))
209 0 0 if $$this{'quote'} > 0
214 0 0 if $$this{'verbose'} > 0
252 0 0 unless (defined $last_retrieved_id)
260 0 0 unless (@tmp = $this->http_post($url, $args))
271 0 0 if $line =~ /^$/
272 0 0 if $line =~ /^$/
273 0 0 if $end_of_headers_marker == 1
285 0 0 unless ($batch_id)
294 0 0 unless (@tmp = $this->http_post($url, $args))
305 0 0 if $line =~ /^$/
306 0 0 if $line =~ /^$/
307 0 0 if $end_of_headers_marker == 1
323 0 0 if (exists $$this{'http_proxy'} and $$this{'http_proxy'} ne '')
340 0 0 if $$this{'verbose'} > 0
344 0 0 if ($response->is_success) { }
0 0 elsif ($response->is_error) { }
368 0 0 if ($$this{'logfile'} == -1)
373 0 0 if ($$this{'logfile'} eq '')
378 0 0 unless open LGFH, '>>' . $$this{'logfile'}
390 0 0 unless open CFG, $file
396 0 0 if /^\s+$/
397 0 0 if /^$/
398 0 0 if /^#/