Branch Coverage

blib/lib/Yukki.pm
Criterion Covered Total %
branch 24 28 85.7


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'}
90 0 2 if (not $base_path =~ m[^/]u) { }
100 0 2 unless $root_path->subsumes($located_path)
135 14 28 if $needs eq 'none'
140 0 28 unless $config
151 6 22 if &$has_access($config->anonymous_access_level)
152 11 11 unless $user
158 14 6 if (&$has_access($level))
162 3 11 if $config->$groups eq 'ANY'
164 5 6 if (ref $config->$groups eq 'ARRAY') { }
0 6 elsif ($config->$groups ne 'NONE') { }
168 3 6 if &any(sub { $_ eq $level_group; } , @user_groups)