Condition Coverage

blib/lib/Number/Range/Regex/SimpleRange.pm
Criterion Covered Total %
condition 23 29 79.3


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 1206 defined $min and defined $max
54 77 742 0 not _is_negative($min) and _is_negative($max)
742 53 24 _is_negative($min) and not _is_negative($max)
119 418 12 9 _is_negative($min) and _is_negative($max)
418 0 12 _is_negative($min) and not _is_negative($max)
0 418 0 not _is_negative($min) and _is_negative($max)
381 358 475 1142 $n >= $$self{'min'} && $n <= $$self{'max'}
389 9 6 31 $self->has_lower_bound && $self->has_upper_bound

or 2 conditions

line l !l condition
95 1204 382 $$self{'tranges'} ||= [$self->_calculate_tranges]

or 3 conditions

line l !l&&r !l&&!r condition
54 202 185 819 inf_type($min) or inf_type($max)