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
120 4 4 0 exists $param{'type'} and not $types{$requested_type}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
138 1 7 0 $param{'server'} ||= $self->server
139 1 7 0 $param{'username'} ||= $self->username
140 1 7 0 $param{'password'} ||= $self->password
179 0 1 0 $param{'server'} ||= $self->server
180 0 1 0 $param{'username'} ||= $self->username
181 0 1 0 $param{'password'} ||= $self->password