| line | % | coverage | branch |
| 73 | 50 | T | F | unless (&GetOptions("spec|s=s", \$opt_spec, "col|c=s", \@opt_cols, "text|t=s", \$opt_text, "data-dir|d=s", \$opt_data_dir, "model-dir|m=s", \$opt_model_dir, "openaddr|o=s", \$opt_openaddr, "region|r=s", \$opt_region, "offline", \$opt_offline, "online-max=i", \$opt_online_max, "dry-run|n", \$opt_dry_run, "verbose|v", \$opt_verbose, "help|h", \$opt_help)) |
| 75 | 50 | T | F | if ($opt_help) |
| 77 | 50 | T | F | if (defined $opt_online_max and $opt_online_max < 1) |
| 82 | 50 | T | F | unless (defined $opt_spec and length $opt_spec) |
| 87 | 100 | T | F | unless (@opt_cols) |
| 97 | 100 | T | F | unless (defined $place_text) |
| 115 | 50 | T | F | if ($opt_spec =~ /\Atable:(.+)\z/) { } |
| 50 | T | F | elsif ($opt_spec =~ /\Apath:(.+)\z/) { } |
| 0 | T | F | elsif ($opt_spec =~ /\Aurl:(.+)\z/) { } |
| 117 | 0 | T | F | if $table =~ m[\A([^/]+)/(.+)\z] |
| 129 | 50 | T | F | if (defined $table) { } |
| 50 | T | F | elsif (defined $path) { } |
| 130 | 0 | T | F | defined $internal ? : |
| 140 | 50 | T | F | defined $internal ? : |
| 149 | 50 | T | F | if ($@ or not defined $source) |
| 156 | 50 | T | F | if ($@ or not defined $records or not @$records) |
| 158 | 0 | T | F | $e ? : |
| 166 | 100 | T | F | if $col_set{$col} |
| 180 | 50 | T | F | if (-f $models_file) |
| 182 | 0 | T | F | if $@ |
| 188 | 100 | T | F | if length $place_text |
| 196 | 50 | T | F | if defined $opt_openaddr and length $opt_openaddr |
| 201 | 50 | T | F | if ($opt_dry_run) { } |
| 207 | 50 | T | F | $opt_offline ? : |
| 208 | 50 | T | F | if defined $opt_online_max |
| 217 | 50 | T | F | if (defined $opt_region and $opt_region =~ /\A[A-Za-z]{2}\z/) |
| 246 | 50 | T | F | if ($opt_dry_run) |
| 251 | 0 | T | F | if ($counts->{'attempted'} // 0) { } |
| 255 | 0 | T | F | defined $backend ? : |
| 263 | 0 | T | F | unless rename $tmp->to_string, $models_file->to_string |
| 266 | 0 | T | F | if ($@) |
| 283 | 50 | T | F | unless $opt_verbose |