Branch Coverage

blib/lib/Range/Object.pm
Criterion Covered Total %
branch 41 48 85.4


line true false branch
49 0 76 unless @input_range
72 0 8 unless @input_range
96 24 24 wantarray ? :
115 24 24 wantarray ? :
130 100 136 ref $item ? :
148 42 810 if (wantarray) { }
156 31 284 $result == 0 ? :
495 315 !defined($result) ? :
192 100 198 ref $_ ? :
243 0 576 unless @input_range
257 15 1288 if ($separator and $item =~ /$separator/)
262 18 1269 if not defined $item or $item eq '' or not $item =~ /$pattern/
267 0 1269 if $@
296 1211 70 unless s/ (\d) \s* $delimiter \s* (\d) /$1..$2/gx
314 2060 2276 ref $_ ? :
345 0 332 unless wantarray
348 290 42 @range ? :
359 0 132 unless wantarray
369 236 351 ref $_ ? :
386 0 42 unless wantarray
394 42 588 unless (defined $first)
402 394 194 if ($self->_next_in_range($last, $item))
410 88 106 unless ($self->_equal_value($first, $last))
428 30 12 $self->_equal_value($first, $last) ? :