Branch Coverage

blib/lib/Fsdb/IO/Writer.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
94 0 0 if $self->{'_error'}
97 0 0 unless ($self->{'_fh'} or $self->{'_queue'})
101 0 0 if ($self->{'_fh'} and ref $self->{'_fh'} eq 'IO::Pipe')
105 0 0 if ($self->{'_fh'} and $self->{'_autoflush'})
110 0 0 unless defined $self->{'_outputheader'}
111 0 0 unless ref $self->{'_outputheader'} eq 'CODE' or $self->{'_outputheader'} eq 'delay'
123 0 0 if ($aaref->[0] eq '-file') { }
0 0 elsif ($aaref->[0] eq '-autoflush') { }
0 0 elsif ($aaref->[0] eq '-outputheader') { }
128 0 0 if ($file eq '-') { }
135 0 0 if ($fh) { }
145 0 0 if not $af == 0 || $af == 1
151 0 0 if not ref $oh eq 'CODE' || $oh eq 'now' || $oh eq 'delay' || $oh eq 'never'
167 0 0 unless $self->{'_compression'}
173 0 0 if ($self->{'_compression'} eq 'gz') { }
0 0 elsif ($self->{'_compression'} eq 'xz') { }
0 0 elsif ($self->{'_compression'} eq 'bz2') { }
188 0 0 unless $cooked_fh
204 0 0 if $self->{'_error'}
206 0 0 if defined $self->{'_fh'} and defined $self->{'_queue'}
207 0 0 if (defined $self->{'_fh'}) { }
0 0 elsif (defined $self->{'_queue'}) { }
208 0 0 if $self->{'_compression'} and $self->{'_header_set'}
209 0 0 if ($self->{'_rscode'} eq 'D') { }
0 0 elsif ($self->{'_rscode'} eq 'C' or $self->{'_rscode'} eq 'I') { }
212 0 0 unless defined $fs
215 0 0 if (ref $rowobj eq 'ARRAY') { }
0 0 elsif (not defined $rowobj) { }
0 0 elsif (not ref $rowobj) { }
233 0 0 if (ref $rowobj eq 'ARRAY') { }
0 0 elsif (not defined $rowobj) { }
0 0 elsif (not ref $rowobj) { }
236 0 0 if $always_print or $rowobj->[$_] ne $empty
272 0 0 if $self->{'_header_set'}
278 0 0 if $self->{'_outputheader'} eq 'never'
281 0 0 if (ref $self->{'_outputheader'} eq 'CODE')
286 0 0 unless defined $self->{'_headerrow'}
291 0 0 if $self->{'_compression'}
338 0 0 if defined $self->{'_error'}
339 0 0 unless $self->{'_header_set'}
387 0 0 defined $v ? :
403 0 0 unless $self->{'_header_set'}
404 0 0 if defined $self->{'_error'}
418 0 0 unless $self->fastpath_ok
489 0 0 defined $data_href->{$_} ? :