Branch Coverage

blib/lib/Game/WordBrain/Prefix.pm
Criterion Covered Total %
branch 11 12 91.6


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