| blib/lib/Word/Rhymes.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 32 | 81.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 59 | 26 | 0 | 1 | defined $context and not $context =~ /^\w+$/ |
| 196 | 0 | 0 | 0 | $_ % $columns == 0 and $_ != 0 |
| line | l | !l | condition |
|---|---|---|---|
| 108 | 117 | 1 | $self->{'file'} // '' |
| 127 | 1000 | 3 | $self->{'max_results'} // 1000 |
| 146 | 4290 | 5963 | $self->{'min_score'} // 0 |
| 165 | 1636 | 7977 | $self->{'min_syllables'} // 1 |
| 174 | 5 | 24 | $self->{'multi_word'} // 0 |
| 211 | 4 | 24 | $self->{'return_raw'} // 0 |
| 233 | 82 | 211 | $self->{'sort_by'} // 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 70 | 26 | 0 | 0 | $self->file or $response->is_success |
| 115 | 2 | 2 | 1000 | $max < 1 or $max > 1000 |
| 134 | 2 | 2 | 1609 | $min < 0 or $min > 1000000 |
| 153 | 2 | 2 | 104 | $min < 1 or $min > 100 |