| blib/lib/Getopt/Long/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 46 | 58.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 209 | 15 | 1 | 2 | $parse->{'is_neg'} and length $_ > 1 |
| 220 | 6 | 10 | 0 | $i == 1 and $parse->{'type'} || $parse->{'opttype'} |
| 227 | 0 | 5 | 3 | $parse->{'type'} && $parse->{'desttype'} eq '%' |
| 233 | 0 | 5 | 3 | $parse->{'type'} && $parse->{'desttype'} eq '%' |
| 460 | 1 | 2 | 1 | @$go_spec and ref $go_spec->[0] eq "HASH" |
| 466 | 0 | 4 | 5 | @$go_spec and ref $go_spec->[0] |
| line | l | !l | condition |
|---|---|---|---|
| 222 | 2 | 6 | $opts->{'key_label'} // "key" |
| 238 | 9 | 7 | $parse->{'desttype'} // "" |
| 239 | 9 | 7 | $parse->{'desttype'} // "" |
| 242 | 0 | 6 | $opts->{'separator'} // ", " |
| 243 | 0 | 6 | $opts->{'separator'} // ", " |
| 303 | 0 | 0 | $args{'include_noexec'} // 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 220 | 8 | 0 | 2 | $parse->{'type'} || $parse->{'opttype'} |
| 224 | 3 | 5 | 0 | $opts->{'value_label'} // $parse->{'type'} |
| 5 | 0 | 0 | ($opts->{'value_label'} // $parse->{'type'}) // $parse->{'opttype'} | |
| 318 | 0 | 0 | 0 | $include_noexec or -x _ |
| line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
|---|---|---|---|---|---|
| 301 | 0 | 0 | 0 | 0 | defined $args{'filename'} xor defined $args{'string'} |