blib/lib/Repl/Spec/Args/VarArgList.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 22 | 54.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
62 | 0 | 4 | 3 | $startnamed > 0 and ref $$args[$startnamed] eq 'Repl::Core::Pair' |
68 | 0 | 3 | 1 | $min >= 0 and $nrvar < $min |
69 | 0 | 2 | 1 | $max >= 0 and $nrvar > $max |
line | l | !l | condition |
---|---|---|---|
18 | 1 | 0 | shift() || die('Expected a arrayref containing fixed args.') |
19 | 1 | 0 | shift() || die('Expected a single var arg.') |
22 | 1 | 0 | shift() || die('Expected a arrayref containing named args.') |
49 | 4 | 0 | shift() || die('Argument list expected.') |
51 | 4 | 0 | shift() || die('Context expected') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
16 | 0 | 1 | 0 | ref $invocant || $invocant |