| blib/lib/Role/Declare.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 20 | 80.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 65 | 10 | 0 | 1 | not @$retval and $allow_empty |
| 114 | 6 | 0 | 1 | not defined $self and $allow_undef |
| 115 | 1 | 2 | 3 | ref $self and &refaddr($self) eq $orig_self_addr |
| 157 | 33 | 0 | 11 | wantarray and $val_list |
| 158 | 1 | 0 | 32 | defined wantarray and $val_scalar |
| 194 | 1 | 3 | 19 | defined $hooks and not $skip_typecheck |
| line | l | !l | condition |
|---|---|---|---|
| 28 | 1 | 22 | $return_hooks{&refaddr($target)} //= {} |