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