Branch Coverage

blib/lib/Net/Async/WebService/lxd.pm
Criterion Covered Total %
branch 4 68 5.8


line true false branch
14 0 0 if ($wait) { }
50 0 0 if ($wait) { }
124 0 0 if (scalar %$pendings)
125 0 0 $elf->{'project'} ? :
128 0 0 unless $$pendings{$op->{'id'}}
129 0 0 if ($op->{'status'} eq 'Success') { }
0 0 elsif ($op->{'status'} eq 'Failure') { }
131 0 0 if (my $outs = $op->{'metadata'}{'output'}) { }
138 0 0 $elf->{'project'} ? :
143 0 0 $elf->{'project'} ? :
194 9159 216 length $2 >= length $6 ? :
177 9375 $4 eq ' |-' ? :
434 0 0 unless $params->{$_}
439 0 0 $options{'body'} && $method eq 'GET' ? :
446 0 0 if ($options{'body'})
468 0 0 if ($resp->is_success) { }
0 0 elsif (my $c = $resp->content) { }
469 0 0 if ($resp->content_type eq 'application/json') { }
0 0 elsif ($resp->content_type =~ qr/multipart/) { }
0 0 elsif ($resp->content_type eq 'application/octet-stream') { }
471 0 0 if ($data->{'type'} eq 'sync') { }
472 0 0 if ($data->{'status_code'} == 200) { }
473 0 0 $wantheaders ? :
517 0 0 $wantheaders ? :
576 0 0 unless length $s > $l
787 0 0 if ($method->{'method'} eq 'GETPUT') { }
797 0 0 unless $method->{'tags'}[0]
798 0 0 unless $method->{'opid'}
816 0 0 $docp->{'type'} ? :
0 0 $docp->{'required'} ? :
829 0 0 $docp->{'required'} ? :
830 0 0 if ($docp->{'type'}) { }
0 0 elsif ($docp->{'schema'}) { }
833 0 0 if (my $s = $docp->{'schema'}{'$ref'}) { }