Condition Coverage

blib/lib/JMX/Jmx4Perl/Nagios/MessageHandler.pm
Criterion Covered Total %
condition 1 14 7.1


or 2 conditions

line l !l condition
42 0 0 $self->{'messages'}{$code} || []
46 0 0 $code ||= 3
47 0 0 $code ||= 2
48 0 0 $code ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
18 0 1 0 ref $class || $class
27 0 0 0 defined $JMX::Jmx4Perl::Nagios::MessageHandler::ERRORS{uc $code} or defined $JMX::Jmx4Perl::Nagios::MessageHandler::STATUS_TEXT{$code}