Condition Coverage

File:C4/Context.pm
Coverage:16.2%

line%coveragecondition
870
Adec
00
11
$ENV{'MEMCACHED_NAMESPACE'} || 'koha'
34433
ABdec
0X0
100
111
defined $conf_fname and -s $conf_fname
3510
ABdec
0X0
100
111
not $INSTALLED_CONFIG_FNAME =~ /__KOHA_CONF_DIR/ and -s $INSTALLED_CONFIG_FNAME
25
ABCdec
0XX0
10X0
1100
1111
exists $ENV{'KOHA_CONF'} and $ENV{'KOHA_CONF'} and -s $ENV{'KOHA_CONF'}
5870
ABCdec
0XX0
10X0
1100
1111
$type and $type eq 'YesNo' and $value eq ''
6460
ABdec
0X0
100
111
defined $$context{'Zconn'}{$server} and 0 == $$context{'Zconn'}{$server}->errcode
6890
ABdec
0X0
100
111
$user and $password
75450
Adec
00
11
$context->config('port') || ''
79633
ABdec
0X0
100
111
defined $$context{'dbh'} and $$context{'dbh'}->ping
98133
ABdec
0X0
100
111
defined $var and defined $$context{'userenv'}{$var}
9830
ABdec
0X0
100
111
$$context{'dbh'} and $context->preference('insecure') eq 'yes'