line |
!l |
l&&!r |
l&&r |
condition |
290
|
0 |
0 |
0 |
$settings->{'Verbose'} and defined $self->{'LogFH'} |
306
|
0 |
0 |
0 |
$@ and not $settings->{'AutoCommit'} |
473
|
0 |
0 |
0 |
defined $settings->{'LogLevel'} and $settings->{'LogLevel'} eq 'queries' || $settings->{'LogLevel'} eq 'all' |
501
|
0 |
0 |
0 |
$rows == -1 and not $self->{'settings'}{'Verbose'} |
555
|
1 |
0 |
0 |
$cf and not $ct |
556
|
0 |
1 |
0 |
not $cf and $ct |
557
|
1 |
0 |
0 |
$cf and $ct |
564
|
0 |
0 |
0 |
$uri_decode and $self->{'settings'}{'Verbose'} |
758
|
33 |
0 |
0 |
defined $settings->{'LogLevel'} and $settings->{'LogLevel'} eq 'all' || $settings->{'LogLevel'} eq 'commands' |
811
|
0 |
24 |
9 |
$cmd =~ /\S/ and $valid |
1096
|
2 |
0 |
0 |
defined $renderer and ref $renderer ne 'CODE' |
1104
|
111 |
0 |
0 |
defined $_[0] and ref $_[0] |
|
111 |
0 |
0 |
defined $_[0] and ref $_[0] and UNIVERSAL::isa($_[0], 'DBI::db') |
|
0 |
0 |
0 |
defined $_[0] and ref $_[0] and UNIVERSAL::isa($_[0], 'DBI::db') and $_[0]->ping |
line |
l |
!l |
condition |
21
|
0 |
1 |
$ENV{'HISTSIZE'} || $ENV{'HISTFILESIZE'} || 50 |
111
|
0 |
1 |
$overrides->{'Interactive'} || 0 |
|
1 |
0 |
$overrides->{'Verbose'} || 0 |
|
0 |
1 |
_renderer($overrides->{'Renderer'}) || \&SQL::Shell::_render_box |
|
0 |
1 |
_renderer($overrides->{'Logger'}) || \&SQL::Shell::_render_delimited |
|
0 |
1 |
$overrides->{'Delimiter'} || "\t" |
|
0 |
1 |
$overrides->{'Width'} || 80 |
|
0 |
1 |
$overrides->{'MaxHistory'} || 50 |
|
0 |
1 |
$overrides->{'AutoCommit'} || 0 |
|
0 |
1 |
$overrides->{'LongReadLen'} || 512 |
|
0 |
1 |
$overrides->{'MultiLine'} || 0 |
|
0 |
1 |
$overrides->{'GetHistory'} || sub {
return \@history;
}
|
|
0 |
1 |
$overrides->{'SetHistory'} || sub {
my $n = shift();
@history = @$n;
}
|
|
0 |
1 |
$overrides->{'AddHistory'} || sub {
push @history, shift();
}
|
238
|
1 |
0 |
shift() || die('You must specify a file to load the history from') |
257
|
1 |
0 |
shift() || die('You must specify a file to save the history to') |
838
|
0 |
0 |
$table ||= '$table' |
1097
|
0 |
0 |
$SQL::Shell::Renderers{$renderer} || die("Unrecognised renderer: $renderer\n") |
1222
|
1 |
0 |
shift() || die('You must specify a file to save the history to') |
1223
|
1 |
0 |
shift() || 50 |
1344
|
0 |
0 |
$options->{'Type'} || 'Hash' |