blib/lib/Getopt/Kingpin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 30 | 96.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
145 | 118 | 71 | 2 | @argv == 1 and ref $argv[0] |
189 | 0 | 2 | @argv == 1 and ref $argv[0] and ref $argv[0] eq "ARRAY" | |
151 | 3 | 105 | 110 | $arg_only == 0 and $arg =~ /^--(no-)?(\S+?)(=(\S+))?$/ |
3 | 89 | 16 | $arg_only == 0 and $arg =~ /^-(\S+)$/ | |
186 | 18 | 12 | 16 | defined $f->short_name and $f->short_name eq $s |
233 | 16 | 42 | 7 | $arg_index == 0 and $arg eq "help" |
272 | 122 | 2 | 6 | &blessed($default) and overload::Method($default, "&{}") |
320 | 56 | 8 | 2 | $arg->_required and not $arg->_defined |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
240 | 12 | 6 | 34 | $arg_obj->is_cumulative or $arg_obj->is_hash |
272 | 6 | 30 | 100 | ref $default eq "CODE" or &blessed($default) and overload::Method($default, "&{}") |