blib/lib/Nagios/Monitoring/Plugin/Threshold.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 22 | 90.9 |
line | true | false | branch |
---|---|---|---|
19 | 64 | 4 | if ref $value eq '' |
21 | 64 | 12 | if ($self->critical->is_set) |
22 | 19 | 45 | if $self->critical->check_range($v) |
26 | 42 | 8 | if ($self->warning->is_set) |
27 | 23 | 19 | if $self->warning->check_range($v) |
38 | 31 | 193 | unless defined $value |
41 | 3 | 190 | if (ref $value) |
42 | 0 | 3 | unless $value->isa('Nagios::Monitoring::Plugin::Range') |
48 | 6 | 184 | if $value eq '' |
52 | 0 | 184 | unless defined $range |
61 | 110 | 2 | unless ref $self |