| blib/lib/Getopt/LL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 34 | 37 | 91.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 100 | 0 | 21 | 4 | ref $rules_ref and not scalar keys %{$rules_ref;} |
| 226 | 61 | 4 | 1 | $$rule_spec{'required'} and not $$result{$rule_name} |
| 232 | 58 | 1 | 6 | $$rule_spec{'default'} and not $$result{$rule_name} |
| 251 | 144 | 1 | 2 | $argument eq '--' and $$options_ref{'end_on_dashdash'} |
| 55 | 4 | 86 | $is_arg_of_type and not $end_processing | |
| 261 | 51 | 31 | 4 | $is_arg_of_type eq 'short' and $$options_ref{'split_multiple_shorts'} |
| 285 | 64 | 26 | 3 | not $opt_has_rule and $$aliases{$argument_name} |
| line | l | !l | condition |
|---|---|---|---|
| 93 | 16 | 10 | $argv_ref ||= \@ARGV |
| 297 | 2 | 23 | $argument_value || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 100 | 1 | 0 | 25 | not $rules_ref or ref $rules_ref and not scalar keys %{$rules_ref;} |
| 293 | 67 | 0 | 26 | $opt_has_rule or $$options_ref{'allow_unspecified'} |
| 410 | 2 | 45 | 2 | $arg_value ||= $RULE_ACTION{$rule_type}($self, $node) |
| 487 | 2 | 2 | 4 | $$spec{'type'} eq 'string' or $$spec{'type'} eq 'digit' |