Branch Coverage

blib/lib/AnyData2/Storage/File.pm
Criterion Covered Total %
branch 6 16 37.5


line true false branch
49 1 1 unless defined $options{'filemode'}
51 1 1 unless ($options{'filemode'} =~ /^[<>]/)
53 1 0 unless defined $options{'fileperms'}
56 0 2 unless $self->{'fh'} = 'IO::File'->new(@options{@openparms})
72 0 0 unless $self->{'fh'}->seek($pos, $whence)
87 0 0 unless $self->{'fh'}->truncate($self->{'fh'}->tell)
101 0 0 if $self->{'fh'}
124 0 0 unless $self->{'meta'}