Branch Coverage

blib/lib/Monitoring/Plugin/Threshold.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
18 64 4 if ref $value eq ''
20 64 12 if ($self->critical->is_set)
21 19 45 if $self->critical->check_range($v)
25 42 8 if ($self->warning->is_set)
26 23 19 if $self->warning->check_range($v)
37 31 193 unless defined $value
40 3 190 if (ref $value)
41 0 3 unless $value->isa('Monitoring::Plugin::Range')
47 6 184 if $value eq ''
51 0 184 unless defined $range
60 110 2 unless ref $self