Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
58 2 5 197 $string =~ /[\d~]/ and $string =~ /^\@?($Nagios::Plugin::Range::value_re|~)?(:($Nagios::Plugin::Range::value_re)?)?$/
82 0 197 0 $valid and $range->start_infinity == 1 || $range->end_infinity == 1 || $range->start <= $range->end
97 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
98 22 27 52 $self->start <= $value and $value <= $self->end

or 3 conditions

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