blib/lib/Scalar/Util/Reftype.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 18 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
134 | 0 | 0 | 73 | $rt and $blessed |
0 | 34 | 39 | $rt and $blessed and $rt eq 'REGEXP' || $rt eq 'SCALAR' | |
34 | 31 | 8 | $rt and $blessed and $rt eq 'REGEXP' || $rt eq 'SCALAR' and $blessed eq 'Regexp' |
line | l | !l | condition |
---|---|---|---|
105 | 31 | 3 | shift() || (return $self) |
106 | 29 | 2 | CORE::ref $thing || (return $self) |
130 | 73 | 55 | &Scalar::Util::blessed($object) || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
134 | 9 | 30 | 34 | $rt eq 'REGEXP' || $rt eq 'SCALAR' |