Condition Coverage

blib/lib/Zabbix/ServerScript.pm
Criterion Covered Total %
condition 23 30 76.6


and 3 conditions

line !l l&&!r l&&r condition
99 3 75 0 defined $ENV{'BASENAME'} and $ENV{'ID'}
121 23 12 16 defined $opt->{'console'} and $opt->{'console'} == 1
130 54 12 0 defined $opt->{'verbose'} and $opt->{'verbose'}
133 53 8 5 defined $opt->{'debug'} and $opt->{'debug'} == 1
139 34 2 1 defined $ENV{'ZBX_TESTING'} && $ENV{'ZBX_TESTING'} == 1
22 1 36 $^S and not defined $ENV{'ZBX_TESTING'} && $ENV{'ZBX_TESTING'} == 1
160 1 13 0 defined $ENV{'BASENAME'} and $ENV{'ID'}
201 0 9 2 defined $unique and $unique
360 1 0 3 -d $module_dir and -w $module_dir

or 3 conditions

line l !l&&r !l&&!r condition
26 0 19 0 eval { do { require Zabbix::ServerScript::Config; 1 } } or eval { do { require Zabbix::ServerScript::DefaultConfig; 1 } }