Branch Coverage

blib/lib/Mojolicious/Plugin/DigestAuth/DB.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
9 0 35 unless defined $realm and defined $user
21 0 3 unless $file
26 1 2 unless open my $passwords, '<', $file
30 0 4 unless $_
34 1 3 if (@user != 3 or length $user[1] == 0)
54 1 71 unless $config and ref $config eq 'HASH'
58 0 72 unless ref $config->{$realm} eq 'HASH'