Branch Coverage

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


line true false branch
39 0 0 unless $app->getopt($argv)
55 0 0 if ($@) { }
56 0 0 if $@ =~ /Can't locate/u
65 0 0 if $app->random
67 0 0 if /^[-+]/u
69 0 0 if (my $answer = $app->answer) { }
71 0 0 unless $word_all{$answer}
73 0 0 if ($app->series > 0)
77 0 0 if ($app->index > $#word_hidden)
101 0 0 unless defined $app->index
102 0 0 $app->series == 0 ? :
123 0 0 if ($interactive = -t STDIN)
134 0 0 if $chomped
151 0 0 if (not $word_all{$word}) { }
152 0 0 unless command($word)
161 0 0 unless my @cmd = split(' ', $word, 0)
164 0 0 if $cmd[0] =~ /^u(niq)?$/u
169 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) { }
172 0 0 $app->debug ? :
184 0 0 unless (&try(sub {
185 0 0 if $app->debug
186 0 0 /^[a-z]+$/iu ? :
189 0 0 if (@word == 0)
221 0 0 if $app->debug
226 0 0 if ($game->solved)
228 0 0 if $app->result
231 0 0 if (length $_)
232 0 0 if ($game->attempt >= $app->trial)
236 0 0 if $app->keymap