line |
true |
false |
branch |
82
|
0 |
4 |
unless defined $self->{'content'} |
96
|
4 |
8 |
unless (defined $self->{'input'}) |
100
|
1 |
3 |
if ($error) { } |
|
1 |
2 |
elsif (ref $input ne 'HASH') { } |
119
|
3 |
6 |
if @_ |
120
|
0 |
9 |
unless $self->{'status'} |
140
|
0 |
3 |
unless my $status_string = $SMS::Send::Adapter::Node::Red::STATUS_STRING->{$status} |
152
|
3 |
4 |
if @_ |
164
|
0 |
3 |
unless my $status = shift() |
183
|
0 |
0 |
if ($SMS) |
186
|
0 |
0 |
if ($to and $text) { } |
|
0 |
0 |
elsif (not $to and $text) { } |
|
0 |
0 |
elsif ($to and not $text) { } |
190
|
0 |
0 |
if ($error) { } |
|
0 |
0 |
elsif (not $sent) { } |
216
|
0 |
0 |
$self->send_sms ? : |
218
|
0 |
0 |
if $self->error |
219
|
0 |
0 |
if $self->input |
239
|
0 |
0 |
if ($length > 0) |
244
|
0 |
0 |
$service->send_sms ? : |
246
|
0 |
0 |
if $service->error |
247
|
0 |
0 |
if $service->input |
267
|
0 |
0 |
unless $self->{'CGI'} |
280
|
2 |
0 |
if (defined $input) |
282
|
2 |
0 |
if ($driver) { } |
284
|
2 |
0 |
if (ref $options eq 'HASH') { } |
288
|
1 |
1 |
if ($error) |