Branch Coverage

blib/lib/App/Greple/wordle.pm
Criterion Covered Total %
branch 0 68 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
151 0 0 if ($_ eq '|') { }
0 0 elsif (/^d$/u) { }
0 0 elsif (/^\?$/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) { }
154 0 0 $app->{'debug'} ? :
166 0 0 unless (&try(sub {
167 0 0 if $app->{'debug'}
168 0 0 /^[a-z]+$/iu ? :
171 0 0 if (@word == 0)
203 0 0 if $app->{'debug'}
208 0 0 if ($game->solved)
210 0 0 if $app->{'result'}
213 0 0 if (length $_)
214 0 0 if ($game->attempt >= $app->{'try'})
218 0 0 if $app->{'keymap'}