| blib/lib/Method/Cached/Manager.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 29 | 62.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 11 | 0 | 2 | exists $args{-'domains'} and defined $args{-'domains'} |
| 27 | 9 | 0 | 3 | exists $args{-'default'} and defined $args{-'default'} |
| 138 | 6 | 17 | 0 | defined $_[0] and $_[0] =~ /^?\d+$/ |
| line | l | !l | condition |
|---|---|---|---|
| 100 | 1 | 3 | $$domain{'args'} || undef |
| 130 | 24 | 0 | $ATTR_PARSER{$attr} || \&_parse_attr_args |
| 142 | 6 | 18 | $domain ||= '' |
| 155 | 36 | 3 | $any_class->can($_) or ++$invalid |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 99 | 4 | 0 | 0 | $$domain{'class'} || croak('class is necessary') |
| 115 | 1 | 0 | 0 | $$method{'key_rule'} || $$domain{'key_rule'} |
| 118 | 0 | 1 | 0 | $cache->can('delete') || $cache->can('clear') |
| 156 | 0 | 12 | 1 | $any_class->can('delete') or $any_class->can('remove') |