blib/lib/Nexmo/SMS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 25 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 4 | 4 | 0 | exists $param{'type'} and not $types{$requested_type} |
line | l | !l | condition |
---|---|---|---|
36 | 6 | 1 | $param{'server'} ||= 'https://rest.nexmo.com/sms/json' |
64 | 4 | 4 | $requested_type || 'text' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
77 | 1 | 7 | 0 | $param{'server'} ||= $self->server |
78 | 1 | 7 | 0 | $param{'username'} ||= $self->username |
79 | 1 | 7 | 0 | $param{'password'} ||= $self->password |
106 | 0 | 1 | 0 | $param{'server'} ||= $self->server |
107 | 0 | 1 | 0 | $param{'username'} ||= $self->username |
108 | 0 | 1 | 0 | $param{'password'} ||= $self->password |