| blib/lib/JIP/ClassField.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 1 | 10 | unless defined $class and length $class |
| 25 | 1 | 9 | unless defined $attr and length $attr |
| 30 | 9 | 0 | if (exists $param{'get'}) |
| 33 | 6 | 3 | if ($getter eq '+') { } |
| 2 | 1 | elsif ($getter eq '-') { } | |
| 49 | 9 | 0 | if (exists $param{'set'}) |
| 52 | 6 | 3 | if ($setter eq '+') { } |
| 2 | 1 | elsif ($setter eq '-') { } | |
| 62 | 2 | 7 | if (exists $param{'default'}) { } |
| 68 | 3 | 3 | if (@JIP::ClassField::ARG == 1) { } |
| 72 | 1 | 2 | ref $default_value eq 'CODE' ? : |