Branch Coverage

blib/lib/Nexmo/SMS/Response.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
23 11 17 if @_ == 2
34 0 5 unless $param{'json'}
44 0 5 unless $perl->{'messages'}
46 0 6 unless $message
57 0 4 unless $self->{'__messages__'}
63 6 0 if (@_ == 2 and $message->isa('Nexmo::SMS::Response::Message'))
65 1 5 if ($message->status != 0)
77 1 1 if @_ == 2