blib/lib/ReadonlyX.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 24 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
22 | 14 | 0 | 6 | $#_ == 0 && defined $_[0] |
26 | 12 | 0 | 2 | ref $var eq 'ARRAY' && $#_ == 1 && ref $var eq 'ARRAY' |
32 | 15 | 0 | 4 | $#_ == 0 && defined $_[0] |
36 | 8 | 0 | 5 | ref $var eq 'HASH' && $#_ == 1 |
42 | 18 | 1 | 1 | $#_ == 0 && defined $_[0] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 12 | 5 | 2 | @_ % 2 == 1 or $ref eq 'HASH' |
53 | 2 | 0 | 3 | $type eq 'SCALAR' or $type eq '' |
99 | 1 | 0 | 9 | $type eq 'SCALAR' || $type eq '' |