Branch Coverage

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


line true false branch
219 0 0 unless $create_sql->{$wanted_schema}
228 0 0 if (scalar keys %tables > 0)
231 0 0 if ($upgrade_schema)
232 0 0 if ($fetch_upgrades{$upgrade_schema})
247 0 0 if ($tables{$required}) { }
252 0 0 unless $dbh->do($sql)
258 0 0 if ($upgrade_schema)
259 0 0 if ($fetch_upgrades{$upgrade_schema}) { }
265 0 0 if (ref $update eq 'CODE') { }
0 0 elsif (ref $update eq 'ARRAY') { }
279 0 0 if $disconnect_required
291 0 0 unless my $sth = $dbh->prepare($sql)
334 0 0 unless $dbh->do("DROP TABLE $tableref->[0]")
339 0 0 if $disconnect_required
344 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
349 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
351 0 0 if ($args{'dbh'}) { }
364 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
369 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
377 0 0 if (ref $_[0] and ref $_[0] eq 'DBI::db')
382 0 0 if (ref $_[0] and ref $_[0] eq 'HASH')
384 0 0 if ($args{'dbh'}) { }
397 0 0 unless my $dbh = 'DBI'->connect("dbi:SQLite:dbname=$args{'dbname'}", '', '', {'PrintError', 1, 'RaiseError', 1, 'AutoCommit', 1})