Condition Coverage

blib/lib/Monitoring/Plugin/Range.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
57 2 5 197 $string =~ /[\d~]/ and $string =~ /^\@?($Monitoring::Plugin::Range::value_re|~)?(:($Monitoring::Plugin::Range::value_re)?)?$/
81 0 197 0 $valid and $range->start_infinity == 1 || $range->end_infinity == 1 || $range->start <= $range->end
96 29 65 101 $self->end_infinity == 0 and $self->start_infinity == 0
65 0 29 $self->start_infinity == 0 and $self->end_infinity == 1
0 0 65 $self->start_infinity == 1 and $self->end_infinity == 0
97 22 27 52 $self->start <= $value and $value <= $self->end

or 3 conditions

line l !l&&r !l&&!r condition
81 20 176 1 $range->start_infinity == 1 || $range->end_infinity == 1 || $range->start <= $range->end