| lib/Data/Record/Serialize/Encode/dbi.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 23 | 43.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 394 | 0 | 0 | 5 | $self->create_output_dir and $self->_is_file_based |
| 409 | 0 | 0 | 4 | $self->create_table and not my $table_exists = $self->_table_exists |
| 438 | 4 | 0 | 1 | $self->drop_table && $table_exists |
| line | l | !l | condition |
|---|---|---|---|
| 489 | 0 | 0 | $args[2] ||= \%scope |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 288 | 15 | 0 | 0 | $MapTypes{$_[0]->_dbi_driver} // $MapTypes{'Default'} |
| 396 | 5 | 0 | 0 | $self->_dsn_components->{'driver_dsn'}{'dbname'} // error("param", "unable to parse dbname from DSN (@{[$self->dsn];}) to create output dir") |
| 409 | 1 | 4 | 0 | $self->drop_table or $self->create_table and not my $table_exists = $self->_table_exists |
| 414 | 4 | 1 | 0 | $table_exists //= $self->_table_exists |