| bin/gmitool | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 37 | 59.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 83 | 2 | 1 | 9 | defined $resource and length $resource |
| 135 | 2 | 0 | 5 | defined $buf and length $buf |
| 161 | 10 | 0 | 0 | $pledge and $code != 3 |
| 168 | 0 | 8 | 0 | defined $output_encoding and $output_encoding eq "" |
| 170 | 0 | 0 | 1 | $type eq "text" and $sub eq "gemini" |
| 254 | 4 | 1 | 1 | $relative and defined $u->scheme |
| 293 | 11 | 0 | 1 | $Allow_Verified and $param->{'okay'} |
| 324 | 0 | 4 | 0 | exists $old->{$dtl} and $old->{$dtl} ne $new->{$dtl} |
| line | l | !l | condition |
|---|---|---|---|
| 45 | 1 | 2 | $target //= "index.gmi" |
| 109 | 1 | 8 | $timeout || 30 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 227 | 6 | 0 | 1 | $pr->{'charset'} =~ /(?i)utf-8/ or $pr->{'charset'} =~ /(?i)ascii/ |
| 236 | 0 | 0 | 1 | $pr->{$key} =~ /(?i)utf-8/ or $pr->{$key} =~ /(?i)ascii/ |
| 303 | 2 | 0 | 0 | $Be_Quiet or $Known_Hosts->{$key}{'digest'} eq $param->{'digest'} |