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) |
192 | 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=/ | |
221 | 76 | 23 | 46 | defined $obj{'_socket'} and $obj{'_code'} != 2 |
241 | 0 | 2 | 8 | $code == 3 and ++$redirects <= $options{'max_redirects'} |
line | l | !l | condition |
---|---|---|---|
109 | 0 | 84 | $param{'verify_ssl'} || \&Net::Gemini::_verify_ssl |
144 | 114 | 31 | $param{'bufsize'} || 4096 |
173 | 20 | 31 | $param{'bufsize'} || 4096 |
243 | 1 | 4 | $options{'bufsize'} || 4096 |
314 | 1 | 17 | $param{'bufsize'} || 4096 |