Branch Coverage

blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/ActiveDirectory.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
117 0 0 unless defined $username and defined $password
120 0 0 unless my $ad = $self->_active_directory
125 0 0 if (@{$self->allowed_groups;})
128 0 0 if (grep {$_ eq $allowed_group;} map({$_->name;} @{$user->groups;}))
135 0 0 if ($allowed)
149 0 0 unless defined $username
152 0 0 unless ($user)
173 0 0 unless defined $username
177 0 0 unless ($user)
218 0 0 unless defined $value