line |
!l |
l&&!r |
l&&r |
condition |
547
|
0 |
1 |
4 |
$sh->{'config_file'} and -f $sh->{'config_file'} |
938
|
0 |
0 |
1 |
not $sh->{'debug'} and $err =~ /^DBD::\w+::\w+ \w+/ |
1095
|
9 |
0 |
0 |
defined $user and length $user |
1101
|
9 |
0 |
0 |
$sh->{'user'} and not defined $sh->{'password'} |
1209
|
0 |
24 |
2 |
$num and $num =~ /^\-\d+$/ |
1215
|
0 |
0 |
26 |
$num and $num =~ /^\d+$/ |
|
0 |
0 |
26 |
$num and $num =~ /^\d+$/ and defined $sh->{'chistory'}[$num - 1] |
1246
|
0 |
0 |
0 |
@args and $args[0] =~ /^\d+$/ |
1416
|
0 |
0 |
0 |
exists $sh->{'desc_show_long'} and $sh->{'desc_show_long'} == 1 |
1418
|
0 |
0 |
0 |
exists $sh->{'desc_show_columns'} and defined $sh->{'desc_show_columns'} |
1441
|
0 |
0 |
0 |
exists $sh->{'desc_show_remarks'} and $sh->{'desc_show_remarks'} == 1 |
|
0 |
0 |
0 |
exists $sh->{'desc_show_remarks'} and $sh->{'desc_show_remarks'} == 1 and not grep({/REMARK/i;} @names) |
1483
|
0 |
0 |
0 |
exists $sh->{'desc_show_long'} and $sh->{'desc_show_long'} == 0 |
|
0 |
0 |
0 |
$dcol eq 'TYPE_NAME' and (exists $sh->{'desc_show_long'} and $sh->{'desc_show_long'} == 0) |
1569
|
0 |
0 |
0 |
defined $sth->{'SCALE'}[$c] and $sth->{'SCALE'}[$c] ne 0 |
1611
|
0 |
0 |
47 |
$opt_name and $sh->{'options'}{$opt_name} |
line |
l |
!l |
condition |
254
|
0 |
7 |
$ENV{'VISUAL'} || $ENV{'EDITOR'} || 'vi' |
|
0 |
7 |
$ENV{'DBISH_DEBUG'} || 0 |
468
|
0 |
0 |
shift @args || $ENV{'DBI_DSN'} || '' |
471
|
0 |
7 |
$ENV{'DBI_USER'} || '' |
473
|
0 |
7 |
$ENV{'DBI_PASS'} || undef |
597
|
0 |
0 |
$4 || '' |
608
|
0 |
0 |
$args_string || '' |
888
|
0 |
0 |
$commands->{$cmd}{'hint'} || '' |
898
|
22 |
0 |
$args[0] || '' |
956
|
0 |
53 |
$sth->{'NUM_OF_PARAMS'} || 0 |
991
|
53 |
0 |
$sh->{'display'} || die('panic: no display set') |
992
|
53 |
0 |
$sh->{'out_fh'} || \*STDOUT |
1166
|
0 |
0 |
$sh->{'prev_buffer'} || '' |
1256
|
0 |
0 |
$sh->{'tmp_dir'} || $ENV{'DBISH_TMP'} || $ENV{'TMP'} || $ENV{'TEMP'} || $ENV{'HOME'} || $ENV{'HOMEDRIVE'} . $ENV{'HOMEPATH'} || '.' |
1526
|
0 |
0 |
$sh->{'out_fh'} || \*STDOUT |
1551
|
0 |
0 |
$sth->{'NAME'}[$c] || 0 |
1566
|
0 |
0 |
'(' . $sth->{'PRECISION'}[$c] || '' |
line |
l |
!l&&r |
!l&&!r |
condition |
254
|
7 |
0 |
0 |
$ENV{'HOME'} || "$ENV{'HOMEDRIVE'}$ENV{'HOMEPATH'}" |
544
|
5 |
0 |
0 |
$ENV{'HOME'} || "$ENV{'HOMEDRIVE'}$ENV{'HOMEPATH'}" |
545
|
4 |
1 |
0 |
$ENV{'DBISH_CONFIG'} || "$homedir/.dbish_config" |
954
|
51 |
2 |
0 |
$execute or not $sth->{'Active'} |
1247
|
0 |
0 |
0 |
$sh->{'current_buffer'} ||= $sh->{'prev_buffer'} |
1258
|
0 |
0 |
0 |
$sh->{'tmp_file'} || "dbish$$.sql" |
1468
|
0 |
0 |
0 |
$row->{'TYPE_NAME'} || $row->{'DATA_TYPE'} |
1485
|
0 |
0 |
0 |
$row->{'TYPE_NAME'} || $row->{'DATA_TYPE'} |
1610
|
47 |
0 |
0 |
$options->{$opt_name} || $opt_name |