blib/lib/CGI/Application/Plugin/Authentication/Driver/Generic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
86 | 55 | 29 | if (ref $data eq 'HASH') { } |
15 | 14 | elsif (ref $data eq 'ARRAY') { } | |
13 | 1 | elsif (ref $data eq 'CODE') { } | |
87 | 15 | 40 | unless defined $creds[0] and defined $creds[1] |
88 | 19 | 21 | defined $$data{$creds[0]} && $$data{$creds[0]} eq $creds[1] ? : |
91 | 50 | 8 | unless not defined $creds[$_] |
2 | 27 | unless grep {$creds[$_] ne $$row[$_] unless not defined $creds[$_];} 0 .. $#$row |