Condition Coverage

lib/Nagios/StatusLog.pm
Criterion Covered Total %
condition 2 18 11.1


and 3 conditions

line !l l&&!r l&&r condition
172 0 3 0 defined $logfile and -r $logfile
237 0 32 0 defined $LOG[$i] and length $LOG[$i]
594 0 0 0 ref $host and UNIVERSAL::can($host, 'host_name')
819 0 0 0 $host and $service
0 0 0 $host and $service and $$self{'SERVICECOMMENT'}{$host}{$service}

or 3 conditions

line l !l&&r !l&&!r condition
974 0 0 0 shift() || $self