Branch Coverage

blib/lib/Nexmo/SMS/BinaryMessage.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
35 8 11 if @_ == 2
96 8 3 if (exists $param{$attr})
124 1 1 if @_ == 2
139 0 0 if @_ == 2
157 0 1 if $self->client_ref
158 0 1 if $self->status_report_req
159 0 1 if $self->network_code
175 0 1 unless ($response and $response->is_success)
177 0 0 if $response
184 0 1 if ($response_object->is_error)
208 4 18 if ($attrs{$attr} eq 'required' and not $params{$attr})