Branch Coverage

blib/lib/Iterator/Records.pm
Criterion Covered Total %
branch 49 78 62.8


line true false branch
129 0 24 unless Iterator::Simple::is_iterable($iterable)
139 0 0 if (scalar @_)
155 20 25 if (ref $self->{'gen'} eq 'CODE') { }
165 4 2 if (my $rec = &$iter()) { }
182 4 2 if (my $rec = &$iter()) { }
246 1 48 unless defined $index
262 6 0 if scalar @field_offsets
287 7 0 if scalar @field_offsets
314 5 2 if scalar @field_offsets
336 2 0 if scalar @field_offsets
405 0 2 unless defined $count
419 4 4 unless $count < $limit
431 2 0 if (defined $newfields)
459 0 2 unless defined $to
460 2 4 $_ eq $from ? :
482 1 18 unless exists $$transmogrifiers{$_[1]}
498 11 6 if defined $fielder
520 3 58 if (defined $subiterator)
522 1 2 if (not defined $rec) { }
529 59 2 unless (defined $rec)
530 2 57 if (scalar @buffer) { }
532 1 1 if (ref $rec ne 'ARRAY')
541 14 46 unless defined $rec
546 3 67 if $walked and $which_t <= $buffer_which
548 7 60 unless defined $things[0]
549 60 0 if (ref $things[0] eq 'ARRAY') { }
551 2 58 if (@things)
595 3 46 if defined $limit
626 0 1 if (scalar @_)
631 2 1 if (my $rec = &$iter()) { }
649 0 0 if @!
691 0 0 unless $dbi_ok
692 0 0 unless $sqlite_ok
701 0 0 unless $dbi_ok
738 0 0 unless defined wantarray
742 0 0 wantarray ? :
784 0 0 if ($first_time) { }
802 0 0 unless defined $fields
848 0 0 unless Iterator::Simple::is_iterable($iterator)