Branch Coverage

blib/lib/OpenStack/MetaAPI/Roles/GetFromId.pm
Criterion Covered Total %
branch 5 20 25.0


line true false branch
12 0 0 unless defined $route
13 0 0 unless $route =~ m[^/]
14 0 0 unless defined $id
16 0 0 unless $route =~ m[/$]
21 0 0 if (ref $answer eq 'HASH' and scalar keys %$answer == 1)
32 0 8 unless defined $route
33 0 8 unless $route =~ m[^/]
34 0 8 unless defined $id
36 8 0 unless $route =~ m[/$]
42 8 0 if (ref $answer eq 'HASH' and scalar keys %$answer == 1)