Condition Coverage

blib/lib/Dancer2/Plugin/Pg/Core.pm
Criterion Covered Total %
condition 0 27 0.0


and 3 conditions

line !l l&&!r l&&r condition
104 0 0 0 $self->returning and $sth->rows > 0
163 0 0 0 $self->returning and $sth->rows > 0
206 0 0 0 $self->returning and $sth->rows > 0

or 2 conditions

line l !l condition
41 0 0 'DBI'->connect($dsn, $self->username, $self->password, $self->options) || die($DBI::errstr)
50 0 0 $self->dbh->prepare($sql) || die($self->dbh->errstr)
58 0 0 $self->dbh->selectrow_arrayref(shift(), undef, @_) || die($self->dbh->errstr)
65 0 0 $self->dbh->selectrow_hashref(shift(), undef, @_) || die($self->dbh->errstr)
72 0 0 $self->dbh->selectall_arrayref(shift(), {'Slice', {}}, @_) || die($self->dbh->errstr)
109 0 0 $sth || 1
168 0 0 $sth || 1
211 0 0 $sth || 1
217 0 0 $self->dbh->last_insert_id(undef, undef, shift() || undef, shift() || undef) || die($self->dbh->errstr)