Branch Coverage

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


line true false branch
272 1 2 if @_options % 2
279 1 1 if ($options{'DBH'}) { }
0 1 elsif ($self->authen->_cgiapp->can('dbh')) { }
289 0 1 unless defined $tables
290 1 0 unless ref $tables eq 'ARRAY'
293 0 1 $options{'ORDER_BY'} ? :
296 0 1 $options{'LIMIT'} ? :
303 0 1 if ($options{'COLUMNS'}) { }
304 0 0 unless ref $options{'COLUMNS'} eq 'HASH'
317 1 0 if ($options{'CONSTRAINTS'})
318 0 1 unless ref $options{'CONSTRAINTS'} eq 'HASH'
320 2 0 if ($value =~ /^__CREDENTIAL_(\d+)__$/)
335 0 1 if $join_on
344 1 0 unless $sth->execute(@params)
347 0 0 if ($options{'COLUMNS'}) { }
356 0 0 if ($value =~ /^__CREDENTIAL_(\d+)__$/)
359 0 0 unless ($self->check_filtered($columns[$index], $value, $array[$index]))
366 0 0 if ($match)
377 0 0 if $count