blib/lib/Sub/Chain.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 16 | 68.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 2 | 0 | 21 | @args and $$opts{'on_undef'} |
2 | 21 | 0 | @args and $$opts{'on_undef'} and not defined $args[0] |
line | l | !l | condition |
---|---|---|---|
58 | 3 | 7 | $args ||= [] |
59 | 0 | 10 | $opts ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
126 | 10 | 6 | 0 | $to ||= $self |
128 | 20 | 12 | 0 | $$self{$name} || $enum |