Branch Coverage

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


line true false branch
36 8 11 if @_ == 2
48 8 3 if (exists $param{$attr})
66 1 1 if @_ == 2
74 0 0 if @_ == 2
83 0 1 if $self->client_ref
84 0 1 if $self->status_report_req
85 0 1 if $self->network_code
101 0 1 unless ($response and $response->is_success)
103 0 0 if $response
110 0 1 if ($response_object->is_error)
124 4 18 if ($attrs{$attr} eq 'required' and not $params{$attr})