Branch Coverage

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


line true false branch
81 50 21 if (ref $data eq 'HASH') { }
11 10 elsif (ref $data eq 'ARRAY') { }
9 1 elsif (ref $data eq 'CODE') { }
82 10 40 unless defined $creds[0] and defined $creds[1]
83 19 21 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