Branch Coverage

blib/lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
277 1 71 if @_options % 2
284 70 1 if ($options{'DBH'}) { }
0 1 elsif ($self->authen->_cgiapp->can('dbh')) { }
294 1 69 unless defined $tables
295 41 28 unless ref $tables eq 'ARRAY'
298 8 61 $options{'ORDER_BY'} ? :
301 8 61 $options{'LIMIT'} ? :
308 38 31 if ($options{'COLUMNS'}) { }
309 1 37 unless ref $options{'COLUMNS'} eq 'HASH'
322 67 1 if ($options{'CONSTRAINTS'})
323 1 66 unless ref $options{'CONSTRAINTS'} eq 'HASH'
325 115 10 if ($value =~ /^__CREDENTIAL_(\d+)__$/)
340 29 38 if $join_on
349 1 64 unless $sth->execute(@params)
352 37 27 if ($options{'COLUMNS'}) { }
361 14 2 if ($value =~ /^__CREDENTIAL_(\d+)__$/)
364 6 10 unless ($self->check_filtered($columns[$index], $value, $array[$index]))
371 8 6 if ($match)
382 5 22 if $count