Branch Coverage

blib/lib/PlugAuth/Plugin/Finger.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
20 0 1 $> && !($^O =~ /^(cygwin|MSWin32)$/) ? :
34 1 4 if ($tx->req->listing_request) { }
40 0 1 if ($tx->req->verbose)
50 2 2 if (my $groups = $self->app->authz->groups_for_user($name)) { }
1 1 elsif (my $users = $self->app->authz->users_in_group($name)) { }
68 0 4 if ($tx->req->verbose and $found)
74 0 0 unless $name eq lc $_
0 0 if $grant =~ /:(.*)$/ and grep {$_ eq '#u' unless $name eq lc $_;} map({s/^\s+//; s/\s+$//; $_;} split(/,/, $1, 0))