Branch Coverage

blib/lib/Wiki/Toolkit/Setup/Pg.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
323 0 0 unless $create_sql->{$wanted_schema}
329 0 0 unless my $sth = $dbh->prepare($sql)
333 0 0 if exists $create_sql->{$wanted_schema}{$table}
339 0 0 if (scalar keys %tables > 0) { }
347 0 0 if ($tables{$required}) { }
352 0 0 unless $dbh->do($sql)
358 0 0 if ($upgrade_schema)
362 0 0 if (ref $update eq 'CODE') { }
0 0 elsif (ref $update eq 'ARRAY') { }
375 0 0 if $disconnect_required
418 0 0 unless $dbh->do("DROP TABLE $tableref->[0] CASCADE")
424 0 0 unless $dbh->do("DROP SEQUENCE $seqref->[0]")
430 0 0 if $disconnect_required
435 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
440 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
442 0 0 if ($args{'dbh'}) { }
460 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
465 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
473 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
478 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
480 0 0 if ($args{'dbh'}) { }
494 0 0 if $args{'dbhost'}
496 0 0 unless my $dbh = 'DBI'->connect($dsn, $args{'dbuser'}, $args{'dbpass'}, {'PrintError', 1, 'RaiseError', 1, 'AutoCommit', 1})