Branch Coverage

blib/lib/SQL/Easy.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
21 0 0 if (ref $params[0] eq 'HASH')
34 0 0 unless ($$self{'dbh'})
48 0 0 if (defined $params{'debug'})
55 0 0 if (defined $cb_before_execute)
56 0 0 if ref $cb_before_execute ne 'CODE'
82 0 0 unless $sth->execute(@bind_variables)
97 0 0 unless $sth->execute(@bind_variables)
113 0 0 unless $sth->execute(@bind_variables)
131 0 0 unless $sth->execute(@bind_variables)
160 0 0 unless $sth->execute(@bind_variables)
166 0 0 unless defined $_
182 0 0 unless $sth->execute(@bind_variables)
195 0 0 unless $sth->execute(@bind_variables)
204 0 0 if (defined $$self{'_cb_before_execute'})
218 0 0 if (time - $$self{'last_connection_check'} > $$self{'connection_check_threshold'})
219 0 0 if (_check_connection($$self{'dbh'})) { }
236 0 0 unless my $dbh = 'DBI'->connect($dsn, $$self{'user'}, $$self{'password'}, {'PrintError', 0, 'RaiseError', 1, 'mysql_auto_reconnect', 0, 'mysql_enable_utf8', 1})
254 0 0 unless $dbh
255 0 0 if (my $result = $dbh->ping) { }
256 0 0 if (int $result) { }