blib/lib/Class/ExtraAttributes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 12 | 100.0 |
line | true | false | branch |
---|---|---|---|
34 | 2 | 1 | $_[1] ? : |
1 | 2 | unless $attributes{$_[1] ? $_[1] : caller()} | |
36 | 2 | 1 | wantarray ? : |
55 | 1 | 2 | unless @_ |
66 | 1 | 1 | if $namespace->can($method) |
72 | 1 | 1 | @_ == 2 ? : |