Branch Coverage

blib/lib/SMS/Send/Adapter/Node/Red.pm
Criterion Covered Total %
branch 13 44 29.5


line true false branch
65 0 2 unless defined $self->{'content'}
79 2 8 unless ($self->{'input'})
83 0 2 if ($error) { }
0 2 elsif (ref $input ne 'HASH') { }
104 1 0 if @_
105 0 1 unless $self->{'status'}
125 0 0 unless my $status_string = $SMS::Send::Adapter::Node::Red::STATUS_STRING->{$status}
137 1 0 if @_
149 0 1 unless my $status = shift()
168 0 0 if ($SMS)
171 0 0 if ($to and $text) { }
0 0 elsif (not $to and $text) { }
0 0 elsif ($to and not $text) { }
175 0 0 if ($error) { }
0 0 elsif (not $sent) { }
201 0 0 $self->send_sms ? :
203 0 0 if $self->error
204 0 0 if $self->input
223 0 0 unless $self->{'CGI'}
236 2 0 if ($driver) { }
238 2 0 if (ref $options eq 'HASH') { }
242 1 1 if ($error)