line |
true |
false |
branch |
366
|
1 |
0 |
unless ($args{'dsn'}) |
369
|
1 |
3 |
if $_ eq "set" |
376
|
1 |
0 |
$args{'attributes'} ? : |
378
|
0 |
1 |
unless %attrs |
390
|
0 |
1 |
$args{'timeout'} ? : |
392
|
1 |
0 |
if $db |
397
|
1 |
0 |
$args{'do_init'} ? : |
398
|
1 |
0 |
if ($dbh and $dsn =~ /SQLite/i) |
400
|
1 |
0 |
if ($do_init) |
401
|
1 |
0 |
unless ($file and -e $file and not -z $file) |
413
|
0 |
1 |
if (not $db) { } |
|
0 |
1 |
elsif (not $dbh) { } |
|
1 |
0 |
elsif ($fnew and $do_init) { } |
421
|
1 |
0 |
unless $dbh->err |
423
|
0 |
1 |
if $dbh->err |
425
|
1 |
0 |
unless ($error) |
426
|
0 |
1 |
unless ($dbh->ping) |
448
|
3 |
7 |
unless defined $value |
449
|
7 |
0 |
$value ? : |
455
|
0 |
7 |
unless defined $value |
457
|
0 |
7 |
$value ne '' ? : |
462
|
0 |
8 |
unless $self->{'dsn'} |
464
|
0 |
8 |
unless $dbi |
466
|
0 |
8 |
unless $dbh |
467
|
0 |
8 |
unless $dbh->can("ping") |
476
|
0 |
0 |
$self->{'issqlite'} ? : |
488
|
0 |
2 |
unless $self->ping |
502
|
0 |
2 |
if ($dbi->connect->err) |
511
|
0 |
0 |
unless $self->ping |
516
|
0 |
0 |
if ($dbi->connect->err) |
526
|
0 |
1 |
unless $self->ping |
530
|
0 |
1 |
&is_int($id) ? : |
531
|
0 |
1 |
if ($dbi->connect->err) |
542
|
0 |
1 |
unless $self->ping |
545
|
0 |
0 |
$offset ? : |
|
0 |
1 |
$row_count ? : |
552
|
0 |
1 |
if ($dbi->connect->err) |
561
|
0 |
1 |
unless $self->ping |
565
|
1 |
0 |
&is_int($id) ? : |
566
|
0 |
1 |
if ($dbi->connect->err) |
574
|
0 |
1 |
unless $self->ping |
579
|
0 |
1 |
if ($dbi->connect->err) |
588
|
0 |
1 |
unless $self->ping |
602
|
0 |
1 |
$data{'id'} ? : |
603
|
0 |
1 |
if ($dbi->connect->err) |
613
|
0 |
1 |
is_array($in) ? : |
616
|
0 |
0 |
if $_ =~ /^\s*(\S+)\s+(.+)$/ |
623
|
1 |
0 |
$t ? : |