blib/lib/Params/Sah.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 8 | 62.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
86 | 0 | 0 | 5 | $$stmt[1] && @{$$stmt[1];} |
103 | 3 | 3 | 0 | $i and $$opts{'on_invalid'} =~ /\A(carp|warn)\z/ |
line | l | !l | condition |
---|---|---|---|
30 | 2 | 3 | $$opts{'on_invalid'} //= 'croak' |