| blib/lib/JIP/ClassField.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 2 | 12 | unless defined $class and length $class |
| 30 | 2 | 10 | unless defined $attr and length $attr |
| 35 | 10 | 0 | if (exists $param{'get'}) |
| 38 | 7 | 3 | if ($getter eq '+') { } |
| 2 | 1 | elsif ($getter eq '-') { } | |
| 54 | 10 | 0 | if (exists $param{'set'}) |
| 57 | 7 | 3 | if ($setter eq '+') { } |
| 2 | 1 | elsif ($setter eq '-') { } | |
| 67 | 2 | 8 | if (exists $param{'default'}) { } |
| 73 | 3 | 3 | if (@JIP::ClassField::ARG == 1) { } |
| 77 | 1 | 2 | ref $default_value eq 'CODE' ? : |