Branch Coverage

blib/lib/CGI/Application/Plugin/Authentication/Driver/Generic.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
81 53 21 if (ref $data eq 'HASH') { }
11 10 elsif (ref $data eq 'ARRAY') { }
9 1 elsif (ref $data eq 'CODE') { }
82 10 43 unless defined $creds[0] and defined $creds[1]
83 20 23 defined $$data{$creds[0]} && $$data{$creds[0]} eq $creds[1] ? :
86 42 0 unless not defined $creds[$_]
2 19 unless grep {$creds[$_] ne $row->[$_] unless not defined $creds[$_];} 0 .. $#$row