Branch Coverage

blib/lib/OpenStack/MetaAPI/Roles/Listable.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
19 7 13 unless $uri =~ m[^/v]
25 2 18 if ($extra_filters)
26 2 0 if (scalar @extra == 1) { }
0 0 elsif (scalar @extra > 1) { }
41 17 3 if ($nargs and $nargs % 2 == 0)
47 0 43 unless ref $candidate
48 0 43 if ($filter_isa eq 'Regexp') { }
53 0 0 unless $candidate->{$filter} and $candidate->{$filter} =~ /$opts{$filter}/
59 28 15 unless $candidate->{$filter} and $candidate->{$filter} eq $opts{$filter}
71 18 2 if scalar @all <= 1