Branch Coverage

blib/lib/Nexmo/SMS/WAPPushMessage.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
36 8 12 if @_ == 2
97 8 4 if (exists $param{$attr})
125 1 1 if @_ == 2
140 0 0 if @_ == 2
158 0 1 if $self->client_ref
159 0 1 if $self->status_report_req
160 0 1 if $self->network_code
161 0 1 if $self->validity
177 0 1 unless ($response and $response->is_success)
179 0 0 if $response
186 0 1 if ($response_object->is_error)
210 2 22 if ($attrs{$attr} eq 'required' and not $params{$attr})