Branch Coverage

blib/lib/Catalyst/Plugin/Authorization/CDBI/GroupToken.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
316 0 0 ref $_[0] eq 'ARRAY' ? :
317 0 0 if ($_[0])
320 0 0 unless grep(($_ eq $token), @{$$c{'tokens'};})
322 0 0 unless @tokens
323 0 0 if ($c->process_tokens(\@tokens)) { }
348 0 0 ref $conf eq 'ARRAY' ? :
432 0 0 if (my $user = $user_class->retrieve($c->request->{'user_id'})) { }
434 0 0 if $c->debug
435 0 0 if (my $token = $token_class->search({$token_field, $token_name})->first) { }
438 0 0 if $user_token_class->search({$user_token_user_field, $user->id, $user_token_token_field, $token->id})
445 0 0 if ($token_group_class and $user_group_class)
456 0 0 if ($group_group_class)
472 0 0 if ($user_group_class->search({$user_group_user_field, $user->id, $user_group_group_field, $group}))
479 0 0 if $c->debug