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
94 3 75 0 defined $ENV{'BASENAME'} and $ENV{'ID'}
116 23 12 16 defined $opt->{'console'} and $opt->{'console'} == 1
125 54 12 0 defined $opt->{'verbose'} and $opt->{'verbose'}
128 53 8 5 defined $opt->{'debug'} and $opt->{'debug'} == 1
134 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
155 1 13 0 defined $ENV{'BASENAME'} and $ENV{'ID'}
196 0 9 2 defined $unique and $unique
355 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 } }