Branch Coverage

blib/lib/Dancer/Plugin/Auth/RBAC/Credentials/Config.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
20 4 2 if ($login) { }
26 0 4 unless ($password)
31 4 0 if (defined $$accounts{$login}) { }
33 4 0 if (defined $$accounts{$login}{'password'}) { }
35 4 0 if ($$accounts{$login}{'password'} =~ /^$password$/) { }
70 0 2 if ($$user{'id'} || $$user{'login'} and not @{$$user{'error'};}) { }