Branch Coverage

blib/script/narada-setup-mysql
Criterion Covered Total %
branch 0 16 0.0


line true false branch
28 0 0 if @_ > 1 or @_ == 1 and $_[0] ne '--clean'
32 0 0 unless my $db = get_db_config()
34 0 0 unless $main::dbh = 'DBI'->connect($db->{'dsn_nodb'}, $db->{'login'}, $db->{'pass'}, {'RaiseError', 1})
36 0 0 if (@_) { }
46 0 0 if (0 < $main::dbh->prepare('SHOW TABLES')->execute)
49 0 0 if (-f 'var/mysql/db.scheme.sql')
51 0 0 if -f $_
63 0 0 unless system("narada-mysql <\Q$file\E") == 0