Branch Coverage

blib/lib/SQL/Executor.pm
Criterion Covered Total %
branch 42 52 80.7


line true false branch
128 7 33 defined $$option_href{'allow_empty_condition'} ? :
143 1 54 if defined $self->handler
157 5 8 if (wantarray)
173 7 5 unless $option
224 2 2 if (wantarray)
308 1 12 unless $params_href
312 1 1 unless exists $named_bind{$1} or not $check_empty_bind
313 0 14 if (ref $named_bind{$1} and ref $named_bind{$1} eq 'ARRAY') { }
340 2 2 if (wantarray)
372 0 20 unless $binds_aref
374 5 14 if (defined $callback and defined $row)
406 0 15 unless $binds_aref
408 4 10 if (defined $callback)
443 0 8 unless $binds_aref
444 4 4 defined $self->callback ? :
459 2 2 if (wantarray)
474 1 15 unless $option
509 5 28 if not $self->allow_empty_condition and $self->_is_empty_where($where)
570 1 1 if not $self->allow_empty_condition and $self->_is_empty_where($where)
585 1 1 if not $self->allow_empty_condition and $self->_is_empty_where($where)
613 0 5 unless $binds_aref
672 0 1 if ($self->dbh->{'Driver'}{'Name'} eq 'mysql')
675 1 0 if ($self->dbh->{'Driver'}{'Name'} eq 'SQLite')
712 0 0 defined $_ ? :
1 4 unless $binds_aref
733 1 0 if (not defined $$self{'sql_maker_load_plugin'}{$plugin_name})