| script/sqlt-diff | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 22 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 124 | 0 | 3 | unless &GetOptions("l|list", \$list, "h|help", \$help, "d|debug", \$debug, "t|trace", \$trace, "c|case-insensitive", \$caseopt, "ignore-index-names", \$ignore_index_names, "ignore-constraint-names", \$ignore_constraint_names, "mysql_parser_version:s", \$mysql_parser_version, "output-db:s", \$output_db, "ignore-view-sql", \$ignore_view_sql, "ignore-proc-sql", \$ignore_proc_sql, "quote:s", \$quote, "no-batch-alters", \$no_batch_alters) |
| 141 | 6 | 0 | if ($arg =~ /^([^=]+)=(.+)$/) |
| 151 | 0 | 3 | if ($list) |
| 157 | 0 | 3 | if $help or not @input |
| 158 | 0 | 3 | if scalar @input != 2 |
| 164 | 0 | 6 | unless -r $file |
| 165 | 0 | 6 | unless $valid_parsers{$parser} |
| 172 | 0 | 6 | unless $t->parser($parser) |
| 173 | 0 | 6 | unless my $out = $t->translate($file) |
| 175 | 6 | 0 | unless ($schema->name) |
| 202 | 3 | 0 | if ($result) { } |