Branch Coverage

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


line true false branch
37 0 0 if $self->base
38 0 0 if $self->host
39 0 0 if $self->port
73 0 0 unless $result
74 0 0 unless ref $result eq 'ARRAY'
82 0 0 if (ref $value eq 'HASH') { }
100 0 0 if $self->returning
102 0 0 unless $self->returning
103 0 0 unless $sth
104 0 0 if ($self->returning and $sth->rows > 0) { }
117 0 0 if (not $sql) { }
119 0 0 if (do { $self->type }->[$i]) { }
125 0 0 if (do { $self->type }->[$i]) { }
134 0 0 if ($_ =~ /and|or/i) { }
136 0 0 if $where
137 0 0 if (ref $wheres{$_}{$key} eq 'HASH') { }
147 0 0 if $where
148 0 0 if (ref $wheres{$_} eq 'HASH') { }
159 0 0 if $self->returning
161 0 0 unless $self->returning
162 0 0 unless $sth
163 0 0 if ($self->returning and $sth->rows > 0) { }
177 0 0 if ($_ =~ /and|or/i) { }
179 0 0 if $where
180 0 0 if (ref $wheres{$_}{$key} eq 'HASH') { }
190 0 0 if $where
191 0 0 if (ref $wheres{$_} eq 'HASH') { }
202 0 0 if $self->returning
204 0 0 unless $self->returning
205 0 0 unless $sth
206 0 0 if ($self->returning and $sth->rows > 0) { }