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