Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
529 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
600 4 2 196 defined $username and defined $password
641 4 2 20 defined $username and defined $password
687 4 0 40 $code and $code ne ''
701 2 2 28 defined $username and $username ne ''
736 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}
822 2 5 5 defined $user and ref $user eq 'HASH' || &blessed($user) && $user->isa('DBIx::Class::Row')

or 3 conditions

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