Branch Coverage

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


line true false branch
216 0 0 unless $create_sql->{$wanted_schema}
222 0 0 unless my $sth = $dbh->prepare($sql)
226 0 0 if exists $create_sql->{$wanted_schema}{$table}
232 0 0 if (scalar keys %tables > 0) { }
240 0 0 if ($tables{$required}) { }
245 0 0 unless $dbh->do($sql)
251 0 0 if ($upgrade_schema)
255 0 0 if (ref $update eq 'CODE') { }
0 0 elsif (ref $update eq 'ARRAY') { }
268 0 0 if $disconnect_required
311 0 0 unless $dbh->do("DROP TABLE $tableref->[0] CASCADE")
317 0 0 unless $dbh->do("DROP SEQUENCE $seqref->[0]")
323 0 0 if $disconnect_required
328 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
333 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
335 0 0 if ($args{'dbh'}) { }
353 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
358 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
366 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
371 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
373 0 0 if ($args{'dbh'}) { }
387 0 0 if $args{'dbhost'}
389 0 0 unless my $dbh = 'DBI'->connect($dsn, $args{'dbuser'}, $args{'dbpass'}, {'PrintError', 1, 'RaiseError', 1, 'AutoCommit', 1})