Branch Coverage

blib/lib/Dancer2/Plugin/Pg/Core.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
37 0 0 if $self->base
38 0 0 if $self->host
39 0 0 if $self->port
51 0 0 if $self->dbh->err
60 0 0 if $self->dbh->err
68 0 0 if $self->dbh->err
76 0 0 if $self->dbh->err
77 0 0 unless $result
78 0 0 unless ref $result eq 'ARRAY'
86 0 0 if (ref $value eq 'HASH') { }
104 0 0 if $self->returning
106 0 0 unless $self->returning
107 0 0 unless $sth
108 0 0 if ($self->returning and $sth->rows > 0) { }
121 0 0 if (not $sql) { }
123 0 0 if (do { $self->type }->[$i]) { }
129 0 0 if (do { $self->type }->[$i]) { }
138 0 0 if ($_ =~ /and|or/i) { }
140 0 0 if $where
141 0 0 if (ref $wheres{$_}{$key} eq 'HASH') { }
151 0 0 if $where
152 0 0 if (ref $wheres{$_} eq 'HASH') { }
163 0 0 if $self->returning
165 0 0 unless $self->returning
166 0 0 unless $sth
167 0 0 if ($self->returning and $sth->rows > 0) { }
181 0 0 if ($_ =~ /and|or/i) { }
183 0 0 if $where
184 0 0 if (ref $wheres{$_}{$key} eq 'HASH') { }
194 0 0 if $where
195 0 0 if (ref $wheres{$_} eq 'HASH') { }
206 0 0 if $self->returning
208 0 0 unless $self->returning
209 0 0 unless $sth
210 0 0 if ($self->returning and $sth->rows > 0) { }
222 0 0 if $self->dbh->err