Branch Coverage

blib/lib/WebService/Megaplan.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
90 0 0 unless $opts{'login'}
91 0 0 unless $opts{'password'}
92 0 0 unless $opts{'hostname'}
117 0 0 $self->use_ssl ? :
0 0 $self->port ? :
127 0 0 unless $response
128 0 0 unless ($$response{'success'})
134 0 0 if ($$data{'status'}{'code'} ne 'ok')
169 0 0 unless $self->secret_key
170 0 0 unless $self->secret_key
180 0 0 $self->use_ssl ? :
0 0 $self->port ? :
185 0 0 if ($query_string)
200 0 0 unless $response
201 0 0 unless ($$response{'success'})
207 0 0 if ($$data{'status'}{'code'} ne 'ok')
235 0 0 unless $self->secret_key
236 0 0 unless $self->secret_key
245 0 0 $self->use_ssl ? :
0 0 $self->port ? :
261 0 0 unless $response
262 0 0 unless ($$response{'success'})
268 0 0 if ($$data{'status'}{'code'} ne 'ok')
281 0 0 if ($opts{'content'}) { }
297 0 0 if ($opts{'method'} eq 'GET' and $opts{'query_params'} and scalar keys %{$opts{'query_params'};} > 0)