Branch Coverage

blib/lib/CGI/Application/Plugin/Authorization/Driver/DBI.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
223 0 0 if @_options % 2
229 0 0 if ($options{'DBH'}) { }
0 0 elsif ($self->authen->_cgiapp->can('dbh')) { }
238 0 0 if ($options{'SQL'})
242 0 0 unless $sth->execute($username, @params)
248 0 0 $count ? :
253 0 0 unless ref $tables eq 'ARRAY'
260 0 0 if ($options{'CONSTRAINTS'})
261 0 0 unless ref $options{'CONSTRAINTS'} eq 'HASH'
264 0 0 if ($value =~ /^__PARAM_(\d+)__$/) { }
0 0 elsif ($value =~ /^__USERNAME__$/) { }
0 0 elsif ($value =~ /^__GROUP__$/) { }
279 0 0 if ($options{'USERNAME'}) { }
0 0 elsif (not $used_username || $options{'NO_USERNAME'}) { }
291 0 0 if $join_on
299 0 0 unless $sth->execute(@db_values)
305 0 0 $count ? :