Branch Coverage

blib/lib/Net/OpenStack/Client/Request.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
74 45 7 unless grep {$_ eq $template;} @templates
78 68 0 if ($kv =~ /^([^=]+)=/) { }
83 0 0 if ($logger) { }
153 70 1 if (grep {$method eq $_;} @SUPPORTED_METHODS) { }
201 40 1 if (exists $self->{'tpls'}{$template}) { }
211 26 37 if (exists $self->{'params'}{$param})
216 22 39 if (@fparams)
221 54 7 if ($host)
227 1 53 if (not $host =~ /^http/) { }
1 52 elsif (not $host =~ m[/v[\d.]+/?$]) { }
256 11 18 if ($self->{'raw'}) { }
267 28 46 unless exists $here->{$path}
301 55 3 unless $opts{'headers'}
302 1 1 if (defined $value) { }
309 1 55 if defined $opts{'token'}
324 8 6 $self->{'error'} ? :