blib/lib/Nexmo/SMS/WAPPushMessage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 24 | 58.3 |
line | true | false | branch |
---|---|---|---|
36 | 8 | 12 | if @_ == 2 |
48 | 8 | 4 | 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 |
86 | 0 | 1 | if $self->validity |
102 | 0 | 1 | unless ($response and $response->is_success) |
104 | 0 | 0 | if $response |
111 | 0 | 1 | if ($response_object->is_error) |
125 | 2 | 22 | if ($attrs{$attr} eq 'required' and not $params{$attr}) |