blib/lib/Perinci/Exporter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 35 | 54.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
53 | 0 | 0 | 28 | $_[0] and ref $_[0] eq 'HASH' |
118 | 8 | 5 | 11 | @_ and ref $_[0] eq 'HASH' |
190 | 40 | 0 | 6 | $default_wrap and ref $default_wrap ne 'HASH' |
194 | 45 | 1 | 0 | $wrap and ref $wrap ne 'HASH' |
196 | 1 | 0 | 0 | defined $wrap and not $wrap |
204 | 4 | 0 | 1 | defined $wrap and not $wrap |
296 | 0 | 54 | 0 | defined *$v{'SCALAR'} and defined ${*$v;} |
line | l | !l | condition |
---|---|---|---|
25 | 0 | 26 | $instargs{'caller_level'} || 0 |
69 | 28 | 0 | $metas ||= {} |
141 | 25 | 2 | $pkg_cache{$source} ||= {} |
208 | 0 | 4 | $wrap->{'convert'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 26 | 0 | 0 | $instargs{'into'} || $caller[0] |
272 | 0 | 27 | 0 | not length $pkg or _package_exists($pkg) |