blib/lib/Repl/Spec/Args/StdArgList.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 19 | 52.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
78 | 1 | 1 | 0 | $argidx < $argslen and not ref $$args[$argidx] eq 'Repl::Core::Pair' |
82 | 0 | 2 | 1 | $startnamed > 0 and ref $$args[$startnamed] eq 'Repl::Core::Pair' |
line | l | !l | condition |
---|---|---|---|
21 | 2 | 0 | shift() || die('Expected a arrayref containing fixed args.') |
22 | 2 | 0 | shift() || die('Expected a arrayref containing optional args.') |
23 | 2 | 0 | shift() || die('Expected a arrayref containing named args.') |
45 | 4 | 0 | shift() || die('Argument list expected.') |
47 | 4 | 0 | shift() || die('Context expected') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
19 | 0 | 2 | 0 | ref $invocant || $invocant |