| blib/lib/WWW/Lipsum.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 22 | 54.5 |
| line | true | false | branch |
|---|---|---|---|
| 37 | 2 | 5 | $self->start ? : |
| 44 | 0 | 7 | unless $res->is_success |
| 53 | 0 | 7 | if @$ |
| 58 | 5 | 2 | unless $self->html |
| 64 | 1 | 1 | if $self->what eq 'lists' |
| 80 | 0 | 7 | if exists $args{'start'} |
| 83 | 0 | 7 | if exists $args{'html'} |
| 86 | 0 | 7 | if (defined $args{'what'}) |
| 87 | 0 | 0 | unless $args{'what'} =~ /\A(paras|words|bytes|lists)\z/ |
| 94 | 0 | 7 | if (defined $args{'amount'}) |
| 95 | 0 | 0 | unless $args{'amount'} and $args{'amount'} =~ /\A\d+\z/ |