blib/lib/Memoize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 29 | 79.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 0 | 14 | 54 | defined $fn and ref $fn eq 'CODE' || ref $fn eq '' |
62 | 56 | 3 | 5 | defined $normalizer and not ref $normalizer |
89 | 12 | 4 | 2 | $context eq "LIST" and $scalar_only{$package} |
147 | 0 | 113 | 7 | defined $shortopt and $shortopt eq "TIE" |
151 | 3 | 2 | 2 | $context eq "LIST" and $scalar_only{$module} |
170 | 4 | 0 | 0 | tied %$cache and not tied(%$cache)->can("CLEAR") |
262 | 0 | 65 | 1 | defined $name and not defined &$name |
line | l | !l | condition |
---|---|---|---|
82 | 53 | 74 | $options{"${context}_CACHE"} ||= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
39 | 22 | 43 | 3 | ref $fn eq 'CODE' || ref $fn eq '' |
84 | 74 | 0 | 17 | $cache_opt eq "" or $IS_CACHE_TAG{$cache_opt} |