Branch Coverage

blib/lib/Yancy/Plugin/Roles.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
90 1 1 if $config->{'role_field'}
103 1 1 if $self->has_role($c, $role)
119 2 3 unless my $user = $c->yancy->auth->current_user