Branch Coverage

blib/lib/Net/Checkpoint/Management/v1.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
48 0 0 if (ref $data eq 'HASH') { }
49 0 0 if (exists $data->{'blocking-errors'} and ref $data->{'blocking-errors'} eq 'ARRAY' and exists $data->{'blocking-errors'}[0] and exists $data->{'blocking-errors'}[0]{'message'}) { }
0 0 elsif (exists $data->{'errors'} and ref $data->{'errors'} eq 'ARRAY' and exists $data->{'errors'}[0] and exists $data->{'errors'}[0]{'message'}) { }
0 0 elsif (exists $data->{'warnings'} and ref $data->{'warnings'} eq 'ARRAY' and exists $data->{'warnings'}[0] and exists $data->{'warnings'}[0]{'message'}) { }
88 0 0 unless $code == 200
99 0 0 exists $query_params->{'limit'} ? :
110 0 0 unless $code == 200
114 0 0 if ($offset == 0) { }
121 0 0 if exists $data->{$list_key} and ref $data->{$list_key} eq "ARRAY"
125 0 0 if ($offset + $limit < $data->{'total'}) { }
143 0 0 unless $code == 200
153 0 0 unless $code == 200
163 0 0 unless $code == 200
347 0 0 if ($res->code == 200) { }
363 0 0 unless $code == 200
372 0 0 unless $code == 200
383 0 0 unless $code == 200
391 0 0 unless defined $policyname
400 0 0 unless $code == 200
408 0 0 unless defined $policyname
410 0 0 unless defined $targets
412 0 0 unless ref $targets eq "" or ref $targets eq "ARRAY"
415 0 0 if defined $params and ref $params ne "HASH"
426 0 0 unless $code == 200
434 0 0 unless defined $taskid
436 0 0 if defined $callback and ref $callback ne "CODE"
442 0 0 if defined $callback
451 0 0 unless ref $object eq "HASH"
454 0 0 unless exists $object->{'name'} or exists $object->{'uid'}
463 0 0 unless $code == 200