blib/lib/Class/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 27 | 55.5 |
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 | 4 | 0 | @_ == 1 && exists $_[0]{'wobble'} | |
0 | 0 | 0 | @_ == 1 && exists $_[0]{'wibble'} | |
65 | 25 | 5 | 4 | $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) |