Condition Coverage

blib/lib/FlatFile/DataStore.pm
Criterion Covered Total %
condition 23 40 57.5


and 3 conditions

line !l l&&!r l&&r condition
250 4 0 62 defined $dir and defined $name
284 6 0 0 $new_uri and $new_uri ne $uri
6 0 0 $new_uri and $new_uri ne $uri and not -e $self->which_datafile(1)
314 5 0 51 not $obj and $uri
342 1 0 41 $self->thisfnum eq $self->prevfnum and $self->thisfnum eq $self->nextfnum
346 1 0 40 $self->thisseek eq $self->prevseek and $self->thisseek eq $self->nextseek
1213 0 0 1 $dir and $name
1224 1 0 0 $dir and $name
1333 957 145 38 defined $dir and $dir eq ''

or 2 conditions

line l !l condition
492 40 32 $top_toc->datafnum || 1
1649 61 32 -s $datafile || 0

or 3 conditions

line l !l&&r !l&&!r condition
299 1 0 0 $new_uri || shift @lines
419 357 0 1142 $Optional{$attr} or defined $self->$attr
1866 87 0 0 $top_toc ||= $self->new_toc({'int', 0})