| blib/lib/Types/ReadOnly.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 15 | 60.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 27 | 4 | 0 | 3 | my $reftype = reftype($_[0]) and not blessed($_[0]) |
| 4 | 0 | 3 | my $reftype = reftype($_[0]) and not blessed($_[0]) and not &Internals::SvREADONLY($_[0]) | |
| 28 | 0 | 2 | 1 | not $dont_clone and &Internals::SvREFCNT($_[0]) > 1 |
| 2 | 0 | 1 | not $dont_clone and &Internals::SvREFCNT($_[0]) > 1 and not $skip{$reftype} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 30 | 0 | 0 | 3 | $reftype eq 'SCALAR' or $reftype eq 'REF' |