blib/lib/Getopt/Long/Spec/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 23 | 78.2 |
line | l | !l | condition |
---|---|---|---|
81 | 0 | 61 | ($params{'short'} = $_) && undef |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
81 | 14 | 8 | 61 | length $_ == 1 && !$params{'short'} |
130 | 37 | 4 | 0 | defined $incr_type and $opt_type ne ':' |
136 | 37 | 4 | 0 | defined $default_num and $opt_type ne ':' |
142 | 8 | 33 | 0 | defined $val_type and not $opt_type =~ /[:=]/ |
145 | 22 | 19 | 0 | exists $params{'min_vals'} || exists $params{'max_vals'} and $opt_type ne '=' |
150 | 28 | 7 | 6 | exists $params{'min_vals'} and not exists $params{'max_vals'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
145 | 13 | 6 | 22 | exists $params{'min_vals'} || exists $params{'max_vals'} |