Branch Coverage

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


line true false branch
37 8 12 if @_ == 2
49 8 4 if (exists $param{$attr})
67 1 1 if @_ == 2
75 0 0 if @_ == 2
84 0 1 if $self->client_ref
85 0 1 if $self->status_report_req
86 0 1 if $self->network_code
87 0 1 if $self->validity
103 0 1 unless ($response and $response->is_success)
105 0 0 if $response
112 0 1 if ($response_object->is_error)
126 2 22 if ($attrs{$attr} eq 'required' and not $params{$attr})