Branch Coverage

blib/lib/SMS/Send/UK/Kapow.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
267 0 0 unless (defined $opts{'to'} and defined $opts{'text'})
275 0 0 if (substr($$self{'_send_via'}, 0, 4) eq 'http') { }
0 0 elsif ($$self{'_send_via'} eq 'email') { }
277 0 0 unless (defined($$self{'_login'} || $$self{'_user'}) and defined $$self{'_password'})
300 0 0 if ($request_method eq 'get') { }
0 0 elsif ($request_method eq 'post') { }
314 0 0 if (defined $response and $response->is_success) { }
0 0 elsif (defined $response) { }
322 0 0 if ($word eq 'OK') { }
331 0 0 if (defined $opts{'_wait'} and not $opts{'_wait'}) { }
0 0 elsif (defined $$self{'_wait'} and not $$self{'_wait'}) { }
334 0 0 if ($check_delivery_status)
341 0 0 if ($reply and substr($reply, 0, 1) ne 'N')
346 0 0 if $_ < 10
378 0 0 if (my $username = $$self{'_login'} || $$self{'_user'} and my $password = $$self{'_password'})
384 0 0 if (my $from = $opts{'_from'} || $$self{'_from'})
396 0 0 if ($@) { }
431 0 0 unless my $unique_id = shift() || $$self{'_msg_delivery_id'}
434 0 0 unless (defined $$self{'ua'})
443 0 0 if ($get_or_post eq 'get') { }
0 0 elsif ($get_or_post eq 'post') { }
457 0 0 if (defined $response and $response->is_success)