blib/lib/Types/ReadOnly.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
27 | 3 | 0 | if (my $reftype = reftype($_[0]) and not blessed($_[0]) and not &Internals::SvREADONLY($_[0])) |
28 | 1 | 2 | if not $dont_clone and &Internals::SvREFCNT($_[0]) > 1 and not $skip{$reftype} |
30 | 0 | 3 | if ($reftype eq 'SCALAR' or $reftype eq 'REF') { } |
1 | 2 | elsif ($reftype eq 'ARRAY') { } | |
2 | 0 | elsif ($reftype eq 'HASH') { } |