Condition Coverage

blib/lib/Zabbix/ServerScript.pm
Criterion Covered Total %
condition 25 33 75.7


and 3 conditions

line !l l&&!r l&&r condition
99 3 0 75 defined $ENV{'BASENAME'} and $ENV{'ID'}
121 23 12 16 defined $opt->{'console'} and $opt->{'console'} == 1
130 54 5 7 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
20 1 36 $^S and not defined $ENV{'ZBX_TESTING'} && $ENV{'ZBX_TESTING'} == 1
160 1 0 13 defined $ENV{'BASENAME'} and $ENV{'ID'}
201 0 9 2 defined $unique and $unique
320 0 0 12 defined $trapper_host and defined $trapper_port
365 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 } }