Branch Coverage

blib/lib/Finnigan/OLE2DirectoryEntry.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
44 2 3 unless ($index == $UNUSED)
65 1 3 if ($right != $UNUSED) { }
72 1 0 if $left == $UNUSED
86 3 0 if $right != $index
92 3 0 if $right != $ptr
106 0 0 unless $self->type == $ROOT
107 0 0 if ($$self{'children'})
117 0 1 unless $self->type == $ROOT
119 0 1 if $query eq '/'
128 2 0 if ($$node{'children'}) { }
131 2 1 if ($child->name eq $name[$i])
137 0 2 unless $match
143 1 0 unless $node->name eq $self->name
150 0 0 $self->type == $STORAGE ? :
160 3 0 if ($self->size)
161 3 0 if ($self->size > $self->file->header->ministream_max or $self->type == $ROOT) { }
180 41 3 if (defined $block)
182 3 38 unless (defined $first)
186 38 3 if (defined $previous and $block == $previous + 1)
189 41 0 if ($contiguous)
195 0 3 unless defined $first
207 3 0 unless $block