| blib/lib/Net/Gemini.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 25 | 80.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 26 | 108 | 0 | 0 | defined $other->authority && !length($other->path) && !defined($other->query) |
| 215 | 10 | 0 | 21 | $obj{'_code'} == 2 and $obj{'_meta'} =~ m[^(?i)text/] |
| 10 | 3 | 18 | $obj{'_code'} == 2 and $obj{'_meta'} =~ m[^(?i)text/] and not $obj{'_meta'} =~ /(?i)charset=/ | |
| 244 | 76 | 23 | 46 | defined $obj{'_socket'} and $obj{'_code'} != 2 |
| 264 | 0 | 2 | 8 | $code == 3 and ++$redirects <= $options{'max_redirects'} |
| line | l | !l | condition |
|---|---|---|---|
| 132 | 0 | 84 | $param{'verify_ssl'} || \&Net::Gemini::_verify_ssl |
| 162 | 114 | 31 | $param{'bufsize'} || 4096 |
| 195 | 20 | 31 | $param{'bufsize'} || 4096 |
| 266 | 1 | 4 | $options{'bufsize'} || 4096 |
| 338 | 1 | 17 | $param{'bufsize'} || 4096 |