| line | % | coverage | condition |
| 50 | 50 | | $why //= "" |
| 62 | 100 | | defined $p->{'file'} and defined $p->{'dsn'} |
| 66 | 67 | | defined $p->{'dsn'} and length $p->{'dsn'} |
| 98 | 75 | | @args and not ref $args[0] and $args[0] eq __PACKAGE__ |
| 105 | 100 | | get_params(undef, \@args) // {} |
| 115 | 67 | | defined $name and $name =~ /$DRIVER_RE/ |
| 127 | 100 | | $is_sqlite or $dsn =~ /$MYSQL_RE/i |
| 33 | | ($dsn =~ /\Adbi:([^:]*)/i)[0] // $dsn |
| 136 | 50 | | $names // [] |
| 139 | 50 | | $info // [] |
| 145 | 50 | | $rows // [] |
| 164 | 50 | | $dbh->selectcol_arrayref("SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%' ORDER BY name") // [] |
| 173 | 67 | | defined $p->{'table'} and length $p->{'table'} |
| 180 | 50 | | $sth->{'NAME'} // [] |
| 191 | 100 | | $p->{'table'} // "data" |
| 209 | 67 | | $ok or $dbh->{'AutoCommit'} |
| 222 | 67 | | ref $p->{'columns'} eq "ARRAY" and @{$p->{'columns'};} |
| 223 | 100 | | defined $p->{'table'} and not length $p->{'table'} |
| 224 | 100 | | $p->{'rows'} //= [] |
| 235 | 67 | | defined $p->{'file'} and length $p->{'file'} |
| 236 | 67 | | -e $p->{'file'} or -l $p->{'file'} |
| 252 | 0 | | $@ || $! |