blib/lib/Sub/Params.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 12 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 3 | 0 | 1 | @$args == 1 and XXX |
3 | 0 | 1 | @$args == 1 and XXX and eval { do { (%params) = %{$args->[0];}; 1 } } | |
46 | 1 | 1 | 1 | @$args % 2 == 0 and eval { do { (%params) = @$args; 1 } } |
52 | 0 | 0 | 2 | @$args <= @$names and do { @params{@$names} = @$args; 1 } |