Condition Coverage

blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/DBIC.pm
Criterion Covered Total %
condition 21 33 63.6


and 3 conditions

line !l l&&!r l&&r condition
528 0 0 10 $info->{'class'} eq $user_roles_class and $info->{'attrs'}{'accessor'} eq 'multi'
0 0 10 $info->{'class'} eq $user_roles_class and $info->{'attrs'}{'accessor'} eq 'multi' and $info->{'attrs'}{'join_type'} eq 'LEFT'
0 0 10 $info->{'class'} eq $user_roles_class and $info->{'attrs'}{'accessor'} eq 'multi' and $info->{'attrs'}{'join_type'} eq 'LEFT' and scalar keys %cond == 1
599 4 2 196 defined $username and defined $password
640 4 2 20 defined $username and defined $password
686 4 0 40 $code and $code ne ''
700 2 2 28 defined $username and $username ne ''
735 8 0 4 $new_roles->{$role_name} and not $existing_roles{$role_name}
0 8 0 not $new_roles->{$role_name} and $existing_roles{$role_name}
821 2 10 0 defined $user and ref $user eq 'HASH' || &blessed($user) && $user->isa('DBIx::Class::Row')

or 3 conditions

line l !l&&r !l&&!r condition
821 5 0 5 ref $user eq 'HASH' || &blessed($user) && $user->isa('DBIx::Class::Row')