Branch Coverage

blib/lib/Embedix/DB/Pg.pm
Criterion Covered Total %
branch 0 130 0.0


line true false branch
20 0 0 if @_ & 1
62 0 0 if @_ & 1
92 0 0 if @_ & 1
103 0 0 if (defined $opt{'where'}) { }
0 0 elsif (defined $opt{'primary_key'}) { }
147 0 0 if @_ & 1
150 0 0 unless defined $opt{'name'}
151 0 0 unless defined $opt{'board'}
162 0 0 if (defined $distro) { }
178 0 0 if @_ & 1
184 0 0 defined $opt{'root_node_id'} ? :
197 0 0 unless ($sth1->execute)
212 0 0 unless (defined $opt{'root_node_id'})
215 0 0 unless ($sth2->execute)
228 0 0 if @_ & 1
230 0 0 unless defined $opt{'node'}
231 0 0 unless defined $opt{'distro'}
237 0 0 unless $dbh->do($s)
244 0 0 if @_ & 1
246 0 0 unless defined $opt{'node'}
247 0 0 unless defined $opt{'distro'}
254 0 0 unless $dbh->do($s)
262 0 0 if @_ & 1
266 0 0 unless defined $opt{'board'}
298 0 0 unless $sth->execute($$node[0], $distro_id)
309 0 0 if @_ & 1
313 0 0 unless $dbh->do("delete from node where node_id = $opt{'node_id'}")
319 0 0 if @_ & 1
347 0 0 if (defined $opt{'path'}) { }
366 0 0 unless $provides
373 0 0 unless ref $provides
375 0 0 if /^$/
376 0 0 if (defined $item{$_}) { }
380 0 0 unless $sth->execute($node_id, $_)
392 0 0 unless $keeplist
399 0 0 unless ref $keeplist
401 0 0 if /^$/
402 0 0 if (defined $item{$_}) { }
406 0 0 unless $sth->execute($node_id, $_)
418 0 0 unless $build_vars
425 0 0 unless ref $build_vars
427 0 0 if /^$/
429 0 0 if (defined $item{$n}) { }
433 0 0 unless $sth->execute($node_id, $n, $v)
442 0 0 if @_ & 1
453 0 0 unless ($sth->execute)
463 0 0 if ($@)
469 0 0 unless ($sth2->execute)
482 0 0 if @_ & 1
497 0 0 unless ($sth->execute)
527 0 0 if (defined($attr = $ecd->getAttribute($_)))
528 0 0 if (ref $attr)
531 0 0 if ($_ eq 'range')
539 0 0 if (defined($attr = $ecd->getAttribute($_)))
546 0 0 if (defined $node{'type'})
550 0 0 if defined $node{'requires'} and defined $node{'requiresexpr'}
552 0 0 if (defined $node{'requires'})
555 0 0 if (defined $node{'requiresexpr'})
566 0 0 if @_ & 1
572 0 0 unless (defined $$self{'distro'})
576 0 0 if ($ecd->getDepth == 0) { }
586 0 0 if (defined $node) { }
614 0 0 if ($id == $root_node_id)
619 0 0 unless (defined $$p{$id})
674 0 0 if (defined $cat{$path}) { }