Branch Coverage

blib/lib/DBIx/Tree/MaterializedPath/PathMapper.pm
Criterion Covered Total %
branch 31 32 96.8


line true false branch
119 2 52 ref $args[0] eq 'HASH' ? :
134 2 52 if $$self{'_chunksize'} > $MAX_CHUNKSIZE
171 1 4 $self->_is_root($chunksize, $pathpart) ? :
177 0 242 unless $chunksize
178 4 238 length $pathpart == $chunksize ? :
292 2 15 if $self->_is_root($chunksize, $pathpart)
338 1 219 if $self->_is_root($chunksize, $pathpart)
485 38 9 unless ($$cache{$key}{$path_col}{$path})
514 36 2 unless ($$cache{$key}{$path_col}{$path})
569 13 1 if ($parent_path)
591 2 25 unless $path1 and $path2
593 4 21 if $path1 eq $path2
594 13 8 substr($path2, 0, length $path1) eq $path1 ? :
611 2 24 unless $path1 and $path2
613 4 20 if $path1 eq $path2
614 9 11 substr($path1, 0, length $path2) eq $path2 ? :