| blib/lib/Test/CGI/External.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 36 | 25.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 80 | 1 | 0 | 3 | $switch and not $self->{'_use_io_uncompress_gunzip'} |
| 212 | 0 | 18 | 0 | $request_method and not $valid_request_method{$request_method} |
| 774 | 16 | 0 | 0 | $options->{'html'} and not $self->{'no_warn'} |
| 14 | 0 | 2 | $options->{'json'} and not $self->{'no_warn'} | |
| 14 | 0 | 0 | $options->{'png'} and not $self->{'no_warn'} | |
| 787 | 0 | 2 | 0 | $mime_type ne 'text/plain' and $mime_type ne 'application/json' |
| 955 | 0 | 0 | 0 | $html_validator and -x $html_validator |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 114 | 0 | 0 | 0 | $self->{'no_warn'} or $self->{'_warned_unicode_utf8'} |
| 169 | 0 | 0 | 0 | !defined($body) || length $body == 0 |
| 291 | 0 | 0 | 0 | $self->{'no_warn'} or $self->{'_warned_unicode_utf8'} |
| 717 | 2 | 0 | 0 | !$headers2->{'status'} || $headers2->{'status'} =~ /200/ |
| 808 | 0 | 0 | 0 | $options->{'html'} or $options->{'json'} |