Condition Coverage

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


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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