| line |
true |
false |
branch |
|
161
|
0 |
3 |
if $config->{'collection'} |
|
162
|
0 |
3 |
unless $app->yancy->schema($schema) |
|
174
|
2 |
1 |
if ($digest_type) |
|
178
|
0 |
2 |
if (my $error = $@) |
|
179
|
0 |
0 |
if ($error =~ m[Can't locate Digest/$digest_type\.pm in \@INC]u) |
|
199
|
4 |
4 |
unless my $auth = $c->req->headers->authorization |
|
200
|
1 |
3 |
unless my($token) = $auth =~ /^Token\ (\S+)$/u |
|
204
|
1 |
2 |
if (my $field = $self->plugin_field) |
|
208
|
0 |
3 |
if (@users > 1) |
|
218
|
0 |
0 |
if (my $user = $self->current_user($c)) |
|
220
|
0 |
0 |
$field ? : |
|
244
|
1 |
0 |
$username_field ? : |
|
|
0 |
1 |
$self->plugin_field ? : |
|
278
|
1 |
2 |
if (not $where and $user) |
|
281
|
0 |
2 |
if ($where and match($where, $user)) |