blib/lib/Specio/TypeChecks.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
36 | 0 | 6438 | unless defined $_[0] and not ref $_[0] and ref \$_[0] eq 'SCALAR' |
41 | 928 | 0 | if defined $_[0] and not ref $_[0] and ref \$_[0] eq 'SCALAR' or ref(\(my $val = $_[0]) eq 'SCALAR') |
51 | 977 | 0 | if &blessed($_[0]) |
55 | 3829 | 5 | if &blessed($_[0]) and $_[0]->can('does') |