| blib/lib/Games/Word.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 23 | 24 | 95.8 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 63 | 218 | if $word eq '' |
| 44 | 129 | 365 | if $word eq '' |
| 47 | 0 | 365 | if $perm_index >= factorial($len) or $perm_index < 0 |
| 80 | 25 | 5 | if ($a eq $b) { } |
| 3 | 2 | elsif ($a lt $b) { } | |
| 102 | 18 | 76 | unless defined $a or defined $b |
| 103 | 20 | 56 | if (defined $a and defined $b and $a eq $b) { } |
| 111 | 9 | 9 | wantarray ? : |
| 118 | 1 | 12 | if length $letters < 1 and $length > 0 |
| 130 | 2 | 21 | if $substring eq '' |
| 131 | 1 | 20 | if $string eq '' |
| 140 | 32 | 30 | if $string eq '' |