Condition Coverage

blib/lib/Nagios/Monitoring/Plugin.pm
Criterion Covered Total %
condition 13 17 76.4


and 3 conditions

line !l l&&!r l&&r condition
113 6 14 0 $#_ == 0 and !ref($_[0]) || ref $_[0] eq 'ARRAY'

or 2 conditions

line l !l condition
196 90 0 $self->messages->{$code} || []

or 3 conditions

line l !l&&r !l&&!r condition
113 11 3 0 !ref($_[0]) || ref $_[0] eq 'ARRAY'
128 3 0 16 exists $args{'warning'} or exists $args{'critical'}
178 9 7 2 defined $Nagios::Monitoring::Plugin::ERRORS{uc $code} or defined $Nagios::Monitoring::Plugin::STATUS_TEXT{$code}
183 1 1 14 $code eq 'unknown' or $code eq 'dependent'