Branch Coverage

blib/lib/Net/Marathon.pm
Criterion Covered Total %
branch 7 34 20.5


line true false branch
75 1 3 unless ($url =~ m[^https?\://])
78 1 3 unless ($url =~ m[/$])
96 0 0 unless defined $api_response
170 0 0 unless $status and $status =~ /^running|staging$/
171 0 0 if ($status)
176 0 0 wantarray ? :
187 0 0 $args && $args->{'scale'} && $args->{'scale'} && !($args->{'scale'} =~ /false/i) ? :
204 0 0 wantarray ? :
215 0 0 $args && $args->{'force'} && $args->{'force'} && !($args->{'force'} =~ /false/i) ? :
268 0 1 $self->_get_html('/ping') =~ /pong/ ? :
282 0 1 if ($response->is_success)
291 0 0 if ($response)
300 0 0 if ($response)
325 0 0 if ($payload)
331 0 0 $response->is_success ? :
336 0 1 if ($verbose)
337 0 0 if (not $response->is_success) { }