line |
true |
false |
branch |
28
|
16 |
28 |
@_ == 1 ? : |
33
|
137 |
965 |
exists $opts{$key} ? : |
38
|
1 |
43 |
if %opts |
145
|
17 |
3 |
if (my $type = $self->{'dbh'}->type_info($data_type)) |
181
|
2 |
41 |
unless $columns and @$columns |
190
|
9 |
75 |
ref $column ? : |
192
|
77 |
7 |
unless @$column > 1 |
240
|
14 |
74 |
$self->{'get_row'} ? : |
259
|
17 |
55 |
unless $row = $self->_get_custom_or_raw_row |
263
|
6 |
49 |
if ($self->{'grep_rows'}) |
267
|
2 |
4 |
unless $self->{'grep_rows'}->($row, $self) |
272
|
11 |
42 |
if ($self->{'map_rows'}) |
290
|
1 |
48 |
unless $row = &try(sub {
$self->validate_row($row);
}
, &catch(sub {
chomp(my $e = $_[0]);
$self->handle_invalid_row($e, $row);
}
)) |
300
|
14 |
1 |
if (my $handler = $self->{'handle_invalid_row'}) |
302
|
3 |
11 |
if ($handler eq 'die') { } |
|
1 |
10 |
elsif ($handler eq 'warn') { } |
358
|
3 |
1 |
if $self->{'transaction'} |
361
|
0 |
4 |
if $self->{'drop'} |
364
|
4 |
0 |
if $self->{'create'} |
369
|
2 |
1 |
if $self->{'transaction'} |
376
|
1 |
0 |
if $self->{'transaction'} |
425
|
12 |
36 |
if @$row != $num_columns |