Branch Coverage

blib/lib/Game/WordBrain/Prefix.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
77 1 2 unless (exists $args->{'max_prefix_length'})
81 3 0 unless (exists $args->{'word_list'})
98 3 0 if ($args->{'word_list'} eq 'Game::WordBrain::WordList') { }
105 6182575 111544 if (length $word >= $length) { }
117 0 0 unless open my $words_fh, '<', $args->{'word_list'}
122 0 0 if (length $word >= $length) { }