line |
true |
false |
branch |
26
|
2 |
49 |
unless $self->is_set |
27
|
1 |
48 |
$self->alert_on ? : |
|
31 |
12 |
$self->start == 0 ? : |
|
6 |
43 |
$self->start_infinity == 1 ? : |
|
3 |
46 |
$self->end_infinity == 1 ? : |
34
|
42 |
179 |
!defined($self->alert_on) ? : |
57
|
7 |
197 |
unless ($string =~ /[\d~]/ and $string =~ /^\@?($Monitoring::Plugin::Range::value_re|~)?(:($Monitoring::Plugin::Range::value_re)?)?$/) |
62
|
2 |
195 |
if ($string =~ s/^\@//) |
66
|
12 |
185 |
if ($string =~ s/^~//) |
69
|
53 |
144 |
if ($string =~ /^($Monitoring::Plugin::Range::value_re)?:/) |
71
|
40 |
13 |
if defined $start |
76
|
189 |
8 |
if ($string =~ /^($Monitoring::Plugin::Range::value_re)$/) |
81
|
184 |
1 |
if ($valid and $range->start_infinity == 1 || $range->end_infinity == 1 || $range->start <= $range->end) |
92
|
16 |
179 |
if ($self->alert_on == 1) |
96
|
101 |
94 |
if ($self->end_infinity == 0 and $self->start_infinity == 0) { } |
|
29 |
65 |
elsif ($self->start_infinity == 0 and $self->end_infinity == 1) { } |
|
65 |
0 |
elsif ($self->start_infinity == 1 and $self->end_infinity == 0) { } |
97
|
52 |
49 |
if ($self->start <= $value and $value <= $self->end) { } |
103
|
14 |
15 |
if ($value >= $self->start) { } |
109
|
40 |
25 |
if ($value <= $self->end) { } |