Branch Coverage

blib/lib/Spreadsheet/Compare/Reader/CSV.pm
Criterion Covered Total %
branch 44 64 68.7


line true false branch
42 0 28 $fn->is_absolute ? :
53 6 22 if $self->chunker
62 0 6 if $debug
65 0 3026 if $skipper and &$skipper($rec)
71 0 6 if $debug
84 98 40 if ($self->chunker) { }
88 6 92 unless keys %$cdata
89 0 98 if $debug
91 3026 0 if (my $rec = $self->_read_record($rec_info))
96 0 98 if $debug
99 0 40 if $debug
106 20 6484 unless ($rec)
107 0 20 if $debug
111 0 6484 if $skipper and &$skipper($rec)
116 18 22 if ($size == 18446744073709551615)
121 0 138 if $debug
136 10 18 $sep ? :
139 0 28 if ($sep and defined $hd and not $hd) { }
150 98 904 if not $hcol =~ /\S/u and $self->fix_empty_header
152 0 1002 if ($self->make_header_unique)
153 0 0 if $seen->{$hcol}++
158 12 16 $sep_set ? :
162 12 10 unless $sep
169 0 6 if $hd or 0 + $csv->error_diag == 1011
180 0 28 if $debug
181 22 6 if ($hd) { }
207 3026 9536 if (defined $rec_info) { }
230 26 12536 unless $rec
234 0 12536 if $trace
242 0 12536 if $trace
246 3026 9510 if $self->chunker and not $rec_info
256 0 28 if $self->{'fh'}