Branch Coverage

blib/lib/SQL/Translator/Producer/Dumper.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
60 1 0 if ($parser_name =~ /Parser::(\w+)$/)
73 0 1 if ($dbd eq 'Pg' and not $args->{'dsn'}) { }
0 1 elsif ($dbd eq 'Oracle' and not $args->{'dsn'}) { }
0 2 elsif ($dbd eq 'mysql' and not $args->{'dsn'}) { }
96 0 1 unless $template->process(\$template_text, {"translator", $t, "schema", $schema, "db_user", $db_user, "db_pass", $db_pass, "dsn", $dsn, "perl", $SQL::Translator::Producer::Dumper::Config{'startperl'}, "skip", \%skip, "skiplike", $skiplike}, \$out)