Branch Coverage

blib/lib/Number/AnyBase.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
25 0 11 unless @in_alphabet
30 5 4 scalar @in_alphabet == 1 ? :
2 9 $type eq 'ARRAY' ? :
40 312 23 unless $seen{$_}++
43 2 9 if @normalized_alphabet < 2
47 1 309 if length $_ > 1
144 0 60 defined $_[0] ? :
165 99996 7690 if (($next_char_value = $$inverted_alphabet{chop $curr} + 1) < $alphabet_size) { }
176 4 99996 if $next_char_value >= $alphabet_size
185 1 99999 if $curr eq $$alphabet[0]
192 7690 99999 if (($prev_char_value = $$inverted_alphabet{chop $curr}) == 0) { }
202 4 99995 if $prev_char_value == 1 and not length $curr