Branch Coverage

lib/Beekeeper/Config.pm
Criterion Covered Total %
branch 4 44 9.0


line true false branch
18 0 0 unless $dir and -d $dir
28 0 7 unless $bus_id
32 0 7 unless defined $config
36 6 1 $bus_id eq '*' ? :
44 0 0 unless $pool_id
48 0 0 unless defined $config
52 0 0 $pool_id eq '*' ? :
62 0 0 unless $bus_id or $bus_role
66 0 0 if ($bus_role) { }
0 0 elsif ($bus_id) { }
68 0 0 if defined $_->{'bus_role'}
73 0 0 unless $bus_config
76 0 0 unless $bus_role
79 0 0 unless defined $_->{'bus_role'} and $_->{'bus_role'} eq $bus_role
89 0 0 unless $file
93 0 0 unless $cdir and -d $cdir
94 0 0 unless $cdir and -d $cdir
95 0 0 unless $cdir and -d $cdir
99 0 0 if exists $Cache{$file}
101 0 0 unless -e $file
104 0 0 unless open my $fh, "<", $file
113 0 0 if ($@)