blib/lib/Specio/TypeChecks.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 18 | 38.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 0 | 0 | 6514 | defined $_[0] and not ref $_[0] |
0 | 0 | 6514 | defined $_[0] and not ref $_[0] and ref \$_[0] eq "SCALAR" | |
41 | 0 | 0 | 947 | defined $_[0] and not ref $_[0] |
0 | 0 | 947 | defined $_[0] and not ref $_[0] and ref \$_[0] eq "SCALAR" | |
55 | 5 | 0 | 3847 | &blessed($_[0]) and $_[0]->can("does") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 947 | 0 | 0 | defined $_[0] and not ref $_[0] and ref \$_[0] eq "SCALAR" or ref(\(my $val = $_[0]) eq "SCALAR") |