Branch Coverage

blib/lib/Metabrik/File/Write.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
62 0 0 unless $self->brik_help_run_undef_arg("open", $output)
65 0 0 if ($encoding eq "ascii")
70 0 0 if ($self->append) { }
0 0 elsif (not $self->append and $self->overwrite) { }
0 0 elsif (not $self->append || $self->overwrite and -f $output) { }
72 0 0 unless (defined $r)
78 0 0 unless (defined $r)
89 0 0 $self->unbuffered ? :
100 0 0 if (defined $self->fd)
111 0 0 unless my $fd = $self->fd
114 0 0 unless (defined $r)
119 0 0 unless (defined $r)
131 0 0 unless my $fd = $self->fd
134 0 0 unless (defined $r)
148 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
149 0 0 unless $self->brik_help_run_undef_arg("write", $data)
151 0 0 if ($self->use_locking)
152 0 0 unless $self->lock
157 0 0 if (ref $data eq 'ARRAY') { }
163 0 0 ref $data eq 'SCALAR' ? :
166 0 0 if ($self->use_locking)
167 0 0 unless $self->unlock