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 ' |-' ? :
435 0 0 unless $params->{$_}
440 0 0 $options{'body'} && $method eq 'GET' ? :
447 0 0 if ($options{'body'})
469 0 0 if ($resp->is_success) { }
0 0 elsif (my $c = $resp->content) { }
470 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') { }
472 0 0 if ($data->{'type'} eq 'sync') { }
473 0 0 if ($data->{'status_code'} == 200) { }
474 0 0 $wantheaders ? :
519 0 0 $wantheaders ? :
578 0 0 unless length $s > $l
789 0 0 if ($method->{'method'} eq 'GETPUT') { }
799 0 0 unless $method->{'tags'}[0]
800 0 0 unless $method->{'opid'}
818 0 0 $docp->{'type'} ? :
0 0 $docp->{'required'} ? :
831 0 0 $docp->{'required'} ? :
832 0 0 if ($docp->{'type'}) { }
0 0 elsif ($docp->{'schema'}) { }
835 0 0 if (my $s = $docp->{'schema'}{'$ref'}) { }