| blib/lib/Class/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 27 | 62.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 35 | 0 | 1 | 35 | defined $_ and not ref $_ |
| 0 | 0 | 35 | defined $_ and not ref $_ and /^[^\W\d]\w*$/s | |
| 51 | 0 | 2 | 0 | @_ == 1 && exists $_[0]{'wibble'} |
| 0 | 2 | 1 | @_ == 1 && exists $_[0]{'wobble'} | |
| 0 | 1 | 0 | @_ == 1 && exists $_[0]{'wibble'} | |
| 65 | 25 | 4 | 5 | $has_default and $default_type eq 'CODE' |
| 152 | 30 | 0 | 11 | @_ == 1 and ref $_[0] |
| 169 | 1 | 28 | 10 | not delete $args->{'__no_BUILD__'} and @{$BUILD_CACHE{$class};} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 144 | 32 | 9 | 0 | $ATTR_CACHE{$class} || &$_PRECACHE($class) |