Branch Coverage

blib/lib/Yukki.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
41 1 4 if (not $ENV{'YUKKI_CONFIG'} and -f "$cwd_conf")
46 1 3 unless defined $ENV{'YUKKI_CONFIG'}
49 1 2 unless -f $ENV{'YUKKI_CONFIG'}
88 0 2 if (not $base_path =~ m[^/]u) { }
119 14 28 if $needs eq 'none'
123 0 28 unless $config
134 6 22 if &$has_access($config->anonymous_access_level)
135 11 11 unless $user
141 14 6 if (&$has_access($level))
145 3 11 if $config->$groups eq 'ANY'
147 5 6 if (ref $config->$groups eq 'ARRAY') { }
0 6 elsif ($config->$groups ne 'NONE') { }
151 3 6 if &any(sub { $_ eq $level_group; } , @user_groups)