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
84 0 5 unless $param{'json'}
94 0 5 unless $$perl{'messages'}
95 0 6 unless $message
115 0 4 unless $$self{'__messages__'}
121 6 0 if (@_ == 2 and $message->isa('Nexmo::SMS::Response::Message'))
123 1 5 if ($message->status != 0)
142 1 1 if @_ == 2