Condition Coverage

File:C4/Context.pm
Coverage:10.8%

line%coveragecondition
870
Adec
00
11
$ENV{'MEMCACHED_NAMESPACE'} || 'koha'
34333
ABdec
0X0
100
111
defined $conf_fname and -s $conf_fname
3500
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'}
5850
ABCdec
0XX0
10X0
1100
1111
$type and $type eq 'YesNo' and $value eq ''
6440
ABdec
0X0
100
111
defined $$context{'Zconn'}{$server} and 0 == $$context{'Zconn'}{$server}->errcode
6870
ABdec
0X0
100
111
$user and $password
7520
Adec
00
11
$context->config('port') || ''
7940
ABdec
0X0
100
111
defined $$context{'dbh'} and $$context{'dbh'}->ping
97933
ABdec
0X0
100
111
defined $var and defined $$context{'userenv'}{$var}
9810
ABdec
0X0
100
111
$$context{'dbh'} and $context->preference('insecure') eq 'yes'