Branch Coverage

blib/lib/OpenStack/Client.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
107 1 59 unless $endpoint
198 26 23 if (defined $args{'body'})
205 1 25 if (ref($args{'body'}) =~ /CODE/) { }
214 1 48 defined $args{'handler'} ? :
331 3 70 if (scalar @_ == 4) { }
11 59 elsif (scalar @_ == 3) { }
22 37 elsif (scalar @_ == 2) { }
0 37 elsif (scalar @_ != 1) { }
371 192 4 if (not defined $key_a) { }
0 4 elsif (exists $a->{$key_a} and $opts{'replace'}) { }
430 2 7 if defined $params
437 7 8 if (defined $params)
442 1 6 if ($path =~ /\?/) { }
469 1 3 if (scalar @args == 2) { }
1 2 elsif (scalar @args == 1) { }
506 3 4 if (scalar @args == 2) { }
2 2 elsif (scalar @args == 1) { }
517 1 7 unless (defined $result->{$attribute})