blib/lib/SMS/API/CMTelecom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
68 | 1 | 8 | unless exists $params{'product_token'} |
74 | 8 | 0 | if ($self->{'_ua'}->can('ssl_opts')) |
126 | 3 | 5 | ref $params{'recipients'} eq 'ARRAY' ? : |
128 | 2 | 6 | unless @recipients |
130 | 1 | 8 | unless defined $recipient |
131 | 1 | 7 | if ref $recipient |
132 | 1 | 6 | if $recipient eq '' |
136 | 2 | 1 | unless defined $sender |
151 | 1 | 0 | exists $params{'reference'} ? : |
164 | 0 | 1 | if ($res->code == 200) |
172 | 1 | 0 | if ref $result eq 'HASH' |