line |
true |
false |
branch |
33
|
16 |
28 |
@_ == 1 ? : |
37
|
137 |
965 |
exists $opts{$key} ? : |
43
|
1 |
43 |
if %opts |
150
|
17 |
3 |
if (my $type = $$self{'dbh'}->type_info($data_type)) |
186
|
2 |
41 |
unless $columns and @$columns |
195
|
9 |
75 |
ref $column ? : |
197
|
77 |
7 |
unless @$column > 1 |
244
|
14 |
74 |
$$self{'get_row'} ? : |
263
|
17 |
55 |
unless $row = $self->_get_custom_or_raw_row |
268
|
6 |
49 |
if ($$self{'grep_rows'}) |
272
|
2 |
4 |
unless $$self{'grep_rows'}($row, $self) |
277
|
11 |
42 |
if ($$self{'map_rows'}) |
295
|
1 |
48 |
unless $row = try(sub {
$self->validate_row($row);
}
, catch(sub {
chomp(my $e = $_[0]);
$self->handle_invalid_row($e, $row);
}
)) |
305
|
14 |
1 |
if (my $handler = $$self{'handle_invalid_row'}) |
307
|
3 |
11 |
if ($handler eq 'die') { } |
|
1 |
10 |
elsif ($handler eq 'warn') { } |
362
|
3 |
1 |
if $$self{'transaction'} |
365
|
0 |
4 |
if $$self{'drop'} |
368
|
4 |
0 |
if $$self{'create'} |
373
|
2 |
1 |
if $$self{'transaction'} |
380
|
1 |
0 |
if $$self{'transaction'} |
430
|
12 |
36 |
if @$row != $num_columns |