Branch Coverage

blib/lib/Text/Glob/Expand.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
66 96 154 if ($elem->depth > $depth) { }
73 60 94 if $partition and @$partition
81 0 94 if @$partition
101 0 146 unless @_
110 118 28 if (ref $first eq 'Text::Glob::Expand::Segment') { }
115 34 84 unless @_
132 0 48 unless ref $seq
196 50 44 if (my(@deeper) = _partition($depth, @$permutation))
379 0 9 unless @alt_count
403 0 68 unless my $table = $$states{$state}
433 14 0 if ($MAX_CACHING > 0)
439 0 14 if $exploded
448 0 14 if (@CACHE_QUEUE > $MAX_CACHING)
498 0 0 unless @_
500 0 0 unless defined(my $format = shift())