web/cgi-bin/yatt.lib/YATT/Util/CmdLine.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 12 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
17 | 1 | 1 | 10 | @$list and my($n, $v) = $list->[0] =~ /^--(?:([\w\.\-]+)(?:=(.*))?)?/ |
28 | 3 | 0 | 1 | $wantarray && ref $result ne 'HASH' |
40 | 0 | 3 | 2 | @$list and $list->[0] =~ /^([^=]+)=(.*)/ |
43 | 1 | 1 | 1 | not $explicit and wantarray |