| line |
true |
false |
branch |
|
27
|
0 |
0 |
unless ($type =~ /^custom_/) |
|
31
|
0 |
0 |
unless ('Regexp' eq ref $custom_errors->{$type}) |
|
60
|
0 |
0 |
if (my(@data) = $error =~ /$custom_errors->{$_}/) |
|
63
|
0 |
0 |
if defined $_ |
|
68
|
17 |
46 |
if (my(@data) = $error =~ /$type_regex->{$_}/i) |
|
71
|
17 |
0 |
if defined $_ |
|
90
|
2 |
4 |
if (my $unique_cols = $$unique_keys{$unique_data->[0]}) { } |
|
108
|
11 |
0 |
if (@{$error_type->{'data'};}) |
|
124
|
11 |
1 |
if ($column_values) { } |
|
133
|
3 |
25 |
$value =~ /undef/ ? : |
|
177
|
9 |
8 |
if ($error =~ /$insert_re/xi) { } |
|
|
3 |
5 |
elsif ($error =~ /$update_re/xi) { } |
|
|
5 |
0 |
elsif ($error =~ /$missing_column_re/xi) { } |
|
|
0 |
0 |
elsif ($error_type->{'name'} eq 'missing_table') { } |
|
207
|
5 |
0 |
$source ? : |
|
225
|
17 |
0 |
if (my $source = $$source_table_map{$error_info->{'table'} or ''}) |
|
239
|
0 |
17 |
if ($type =~ /^custom_/) |
|
250
|
0 |
17 |
unless ($error_matched) |