| blib/lib/JMX/Jmx4Perl/Nagios/CheckJmx4Perl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 80 | 5.0 |
| line | l | !l | condition |
|---|---|---|---|
| 195 | 0 | 0 | $$error_stat{'UNKNOWN'} && scalar @$error_stat->{'UNKNOWN'} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 245 | 0 | 0 | 0 | defined $$c{'multicheckprefix'} and not length $$c{'multicheckprefix'} |
| 392 | 0 | 1 | 0 | $check->mbean and $check->attribute || $check->operation |
| 489 | 0 | 0 | 0 | $m_check and $$m_check{'summaryok'} || $$m_check{'summaryfailure'} |
| 503 | 0 | 0 | 0 | $args and $check_params |
| 528 | 0 | 0 | 0 | $$check{'args'} && @{$$check{'args'};} |
| 572 | 0 | 0 | 0 | $args and @$args |
| 0 | 0 | 0 | $args and @$args and not ref $$check{$k} | |
| 600 | 0 | 0 | 0 | defined $rest and length $rest |
| 0 | 0 | 0 | defined $rest and length $rest and $rest =~ /$regexp/ | |
| 672 | 1 | 0 | 0 | $path and not -e $path |
| 899 | 0 | 0 | 0 | $server_config and $$server_config{$main_key} |
| line | l | !l | condition |
|---|---|---|---|
| 81 | 0 | 0 | $np->opts->{'timeout'} || 180 |
| 175 | 0 | 0 | $$self{'multi_check_labels'} || {} |
| 179 | 0 | 0 | $$labels{'summary_ok'} || 'All %n checks OK' |
| 182 | 0 | 0 | $$labels{'summary_failure'} || '%e of %n checks failed [%d]' |
| 248 | 0 | 0 | $$c{'multicheckprefix'} || $$c{'name'} || $$c{'key'} || '' |
| 928 | 0 | 0 | $self->_server_config || (return undef) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 55 | 0 | 1 | 0 | ref $class || $class |
| 123 | 0 | 0 | 0 | $$np{'msg_handler'} || $np |
| 160 | 0 | 0 | 0 | $$np{'msg_handler'} || $np |
| 383 | 0 | 0 | 0 | $config->get_server_config($o->server) || $self->nagios_die('No server configuration for ' . $o->server . ' found') |
| 392 | 1 | 0 | 0 | $check->attribute || $check->operation |
| 0 | 0 | 0 | $check->mbean and $check->attribute || $check->operation or $check->alias | |
| 0 | 0 | 0 | $check->mbean and $check->attribute || $check->operation or $check->alias or $check->value | |
| 0 | 0 | 0 | $check->mbean and $check->attribute || $check->operation or $check->alias or $check->value or $check->script | |
| 462 | 0 | 0 | 0 | defined $$config{'check'}{$c_name} or defined $$multi_checks{$c_name} |
| 489 | 0 | 0 | 0 | $$m_check{'summaryok'} || $$m_check{'summaryfailure'} |
| 635 | 0 | 0 | 0 | length $start or length $end |