Condition Coverage

blib/lib/Nexmo/SMS.pm
Criterion Covered Total %
condition 15 25 60.0


and 3 conditions

line !l l&&!r l&&r condition
60 4 4 0 exists $param{'type'} and not $types{$requested_type}

or 2 conditions

line l !l condition
37 6 1 $param{'server'} ||= 'http://rest.nexmo.com/sms/json'
65 4 4 $requested_type || 'text'

or 3 conditions

line l !l&&r !l&&!r condition
78 1 7 0 $param{'server'} ||= $self->server
79 1 7 0 $param{'username'} ||= $self->username
80 1 7 0 $param{'password'} ||= $self->password
107 0 1 0 $param{'server'} ||= $self->server
108 0 1 0 $param{'username'} ||= $self->username
109 0 1 0 $param{'password'} ||= $self->password