Branch Coverage

blib/lib/DBIx/Class/ParseError/Parser.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
34 17 46 if (my(@data) = $error =~ /$type_regex->{$_}/i)
37 17 0 if defined $_
56 2 4 if (my $unique_cols = $$unique_keys{$unique_data->[0]}) { }
74 10 1 if (@{$error_type->{'data'};})
90 11 1 if ($column_values) { }
99 3 25 $value =~ /undef/ ? :
140 9 8 if ($error =~ /$insert_re/xi) { }
3 5 elsif ($error =~ /$update_re/xi) { }
5 0 elsif ($error =~ /$missing_column_re/xi) { }
168 5 0 $source ? :
177 17 0 if (my $source = $$source_table_map{$error_info->{'table'}})