Branch Coverage

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


line true false branch
24 11 17 if @_ == 2
35 0 5 unless $param{'json'}
45 0 5 unless $$perl{'messages'}
46 0 6 unless $message
58 0 4 unless $$self{'__messages__'}
64 6 0 if (@_ == 2 and $message->isa('Nexmo::SMS::Response::Message'))
66 1 5 if ($message->status != 0)
78 1 1 if @_ == 2