| blib/lib/Nexmo/SMS/TextMessage.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 17 | 24 | 70.8 | 
| line | true | false | branch | 
|---|---|---|---|
| 34 | 18 | 30 | if @_ == 2 | 
| 46 | 18 | 12 | if (exists $param{$attr}) | 
| 64 | 3 | 3 | if @_ == 2 | 
| 72 | 1 | 1 | if @_ == 2 | 
| 81 | 0 | 3 | if $self->client_ref | 
| 82 | 0 | 3 | if $self->status_report_req | 
| 83 | 0 | 3 | if $self->network_code | 
| 84 | 0 | 3 | if $self->type | 
| 98 | 0 | 3 | unless ($response and $response->is_success) | 
| 100 | 0 | 0 | if $response | 
| 107 | 1 | 2 | if ($response_object->is_error) | 
| 121 | 1 | 39 | if ($attrs{$attr} eq 'required' and not $params{$attr}) |