Branch Coverage

blib/lib/App/Greple/wordle.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
39 0 0 unless $app->getopt($argv)
52 0 0 if $app->{'random'}
54 0 0 if /^[-+]/u
56 0 0 if (my $answer = $app->{'answer'}) { }
58 0 0 unless $App::Greple::wordle::word_all{$answer}
60 0 0 if ($app->{'series'} > 0)
83 0 0 unless defined $app->{'index'}
87 0 0 $app->{'series'} == 0 ? :
105 0 0 if ($interactive = -t STDIN)
116 0 0 if $chomped
133 0 0 if (not $App::Greple::wordle::word_all{$word}) { }
134 0 0 unless command($word)
143 0 0 unless my @cmd = split(' ', $word, 0)
146 0 0 if $cmd[0] =~ /^u(niq)?$/u
150 0 0 if ($_ eq '|') { }
0 0 elsif (/^d$/u) { }
0 0 elsif (/^!!$/u) { }
0 0 elsif (/^h(int)?$/u) { }
0 0 elsif (/^u(niq)?$/u) { }
0 0 elsif (/^=(.+)/u) { }
0 0 elsif (/^!(.+)/u) { }
0 0 elsif (/\W/u) { }
160 0 0 unless &try(sub {
162 0 0 if (@word == 0)
184 0 0 if ($game->solved)
186 0 0 if $app->{'result'}
189 0 0 if (length $_)
190 0 0 if ($game->attempt >= $app->{'try'})
194 0 0 if $app->{'keymap'}