line |
true |
false |
branch |
201
|
0 |
1 |
unless $$self{'DBED'} eq 'DBI' |
211
|
0 |
0 |
if $err[0] |
212
|
0 |
0 |
wantarray ? : |
226
|
0 |
0 |
unless $nm |
227
|
0 |
0 |
unless $type |
233
|
0 |
0 |
unless ($ent = $self->ent($id)) |
240
|
0 |
0 |
if $ent->attr($d) == 0 |
268
|
0 |
0 |
$sel =~ /^\d+$/ ? : |
|
0 |
0 |
unless ref $sel |
278
|
0 |
0 |
@ret == 1 && !wantarray ? : |
307
|
0 |
0 |
unless $self->rmattr |
308
|
0 |
0 |
unless $self->rmrel('relsonly', $rels) |
309
|
0 |
0 |
unless $self->del('ent', {'id', $self->id}) |
325
|
0 |
0 |
unless $ent->rel($self) |
350
|
0 |
0 |
unless ref $attr or defined $val |
351
|
0 |
0 |
ref $attr ? : |
355
|
0 |
0 |
unless %attr |
360
|
0 |
0 |
if /^id$/i |
366
|
0 |
0 |
unless $$self{'__cf'}{'attrs'} |
373
|
0 |
0 |
if $$self{$_} eq $v |
376
|
0 |
0 |
unless $nm |
379
|
0 |
0 |
$$self{$_} ? : |
389
|
0 |
0 |
if $fn eq 'ins' |
390
|
0 |
0 |
unless $ret |
414
|
0 |
0 |
$dtt ? : |
421
|
0 |
0 |
wantarray ? : |
|
0 |
0 |
$nm ? : |
433
|
0 |
0 |
if @_ |
468
|
0 |
0 |
ref $rel eq 'ARRAY' ? : |
474
|
0 |
0 |
if $$opts{'unique'} and not $$opts{'nn'} and $i > 1 |
476
|
0 |
0 |
$$opts{'parent'} ? : |
480
|
0 |
0 |
if $$self{'err'} |
511
|
0 |
0 |
$$opts{'parent'} ? : |
516
|
0 |
0 |
$$opts{'parent'} ? : |
517
|
0 |
0 |
wantarray ? : |
531
|
0 |
0 |
unless ($args{'relsonly'}) |
536
|
0 |
0 |
unless $self->del('rel', {'id', $self->id}) |
537
|
0 |
0 |
unless $self->del('rel', {'pid', $self->id}) |
558
|
0 |
8 |
if ref $ret[$i] eq 'HASH' |
561
|
2 |
0 |
wantarray ? : |
604
|
0 |
0 |
if $$self{'mkuid'} |
606
|
0 |
0 |
unless $nm |
623
|
0 |
0 |
@_ > 0 ? : |
624
|
0 |
0 |
if /^-?\d+$/ |
625
|
0 |
0 |
if /^-?\d+\.?\d*$/ |
626
|
0 |
0 |
if m[^\d{1,2}/\d{1,2}/(\d\d){1,2}] |
814
|
0 |
0 |
unless $self->dbc(&DB::Ent::args) |
818
|
0 |
0 |
if $$self{'trace'} |
857
|
0 |
0 |
if $args{'DROP'} |
858
|
0 |
0 |
unless $self->tabmk |
878
|
0 |
0 |
if ref $filt eq 'HASH' |
881
|
0 |
0 |
$DB::Ent::DBI::tabs{$nm}{'cols'}{$_}{'quote'} ? : |
925
|
0 |
0 |
$$cols{'ALL'} ? : |
949
|
0 |
0 |
unless $ret[0]{'max'} |
988
|
0 |
0 |
unless defined $v |
991
|
0 |
0 |
if (ref $v eq 'ARRAY') |
992
|
0 |
0 |
$q ? : |
996
|
0 |
0 |
if ($v =~ /%/) |
1000
|
0 |
0 |
$q ? : |
1003
|
0 |
0 |
if @ret |
1012
|
0 |
0 |
if @v > 1 and not wantarray |
1014
|
0 |
0 |
wantarray ? : |
1038
|
0 |
0 |
if $$self{'debug'} > 0 |
1044
|
0 |
0 |
unless $sth->execute |
1049
|
0 |
0 |
if $$self{'cmd'} =~ /\bINSERT\b/i |
1052
|
0 |
0 |
if $$self{'cmd'} =~ /\bUPDATE\b/i |
1055
|
0 |
0 |
unless $$self{'cmd'} =~ /\bSELECT\b/i |
1059
|
0 |
0 |
wantarray ? : |
1068
|
0 |
0 |
if ($$self{'err'} == 1062) |
1069
|
0 |
0 |
if $$self{'dups'} == $DB::Ent::DUPSQUIET |
1070
|
0 |
0 |
if $$self{'dups'} == $DB::Ent::DUPSWARN |
1072
|
0 |
0 |
if ($$self{'err'}) |
1073
|
0 |
0 |
unless $$self{'debug'} > 0 |
1074
|
0 |
0 |
unless $die and die $$self{'errstr'} |
1086
|
0 |
0 |
unless defined wantarray |
1093
|
0 |
0 |
$title ? : |