blib/lib/Nexmo/SMS/BinaryMessage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 22 | 59.0 |
line | true | false | branch |
---|---|---|---|
35 | 8 | 11 | if @_ == 2 |
47 | 8 | 3 | if (exists $param{$attr}) |
65 | 1 | 1 | if @_ == 2 |
73 | 0 | 0 | if @_ == 2 |
82 | 0 | 1 | if $self->client_ref |
83 | 0 | 1 | if $self->status_report_req |
84 | 0 | 1 | if $self->network_code |
100 | 0 | 1 | unless ($response and $response->is_success) |
102 | 0 | 0 | if $response |
109 | 0 | 1 | if ($response_object->is_error) |
123 | 4 | 18 | if ($attrs{$attr} eq 'required' and not $params{$attr}) |