line |
true |
false |
branch |
24
|
0 |
0 |
unless %config |
26
|
0 |
0 |
if (not $config{'apikey'}) { } |
49
|
0 |
0 |
if exists $$config{$_} |
52
|
0 |
0 |
if exists $$config{'sender'} |
54
|
0 |
0 |
$$self{'secure'} ? : |
63
|
0 |
0 |
if ($$self{'on_error'}) |
78
|
0 |
0 |
unless (defined $$self{'ua'}) |
94
|
0 |
0 |
if (not $$self{'apikey'}) { } |
106
|
0 |
0 |
if ($response->is_success) { } |
110
|
0 |
0 |
if ($$r{'header'} =~ /^ERROR=(\d+):\s*(.*)$/) { } |
120
|
0 |
0 |
if ($$r{'header'} =~ /^SUCCESS=(.*)$/) { } |
128
|
0 |
0 |
if ($$r{'error'}) |
143
|
0 |
0 |
if ref $to eq 'ARRAY' |
151
|
0 |
0 |
if (defined $r and $$r{'success'}) |
155
|
0 |
0 |
if ($$r{'success_message'} =~ m[SMS\s+SENT\s+(\d+)/(\d+)]) { } |
170
|
0 |
0 |
wantarray ? : |
176
|
0 |
0 |
if ($sender =~ /^[A-Za-z\.\-\d]{3,11}$/ and not $sender =~ /^\d{3,9}$/) { } |
|
0 |
0 |
elsif ($sender =~ /^\+?\d{10,16}$/) { } |
195
|
0 |
0 |
unless defined $type |
199
|
0 |
0 |
if (defined $r and $$r{'success'}) |
211
|
0 |
0 |
if (defined $r and $$r{'success'}) |
218
|
0 |
0 |
wantarray ? : |
224
|
0 |
0 |
if ref $id eq 'ARRAY' |
230
|
0 |
0 |
if (defined $r and $$r{'success'}) |
242
|
0 |
0 |
wantarray ? : |