Condition Coverage

blib/lib/Memoize.pm
Criterion Covered Total %
condition 22 27 81.4


and 3 conditions

line !l l&&!r l&&r condition
33 0 17 56 defined $fn and ref $fn eq 'CODE' || ref $fn eq ''
43 60 3 6 defined $normalizer and not ref $normalizer
68 2 2 8 $cache_opt eq "MERGE" and not ref $fullopt
121 4 0 0 tied %$cache and not tied(%$cache)->can("CLEAR")
206 0 68 1 defined $name and not defined &$name
234 14 7 5 $context eq "LIST" and $scalar_only{$package}

or 2 conditions

line l !l condition
58 33 36 $options{'LIST_CACHE'} || ''
66 56 74 $options{"${context}_CACHE"} ||= "MEMORY"
77 8 0 shift @cache_opt_args || ''

or 3 conditions

line l !l&&r !l&&!r condition
33 25 45 3 ref $fn eq 'CODE' || ref $fn eq ''