| blib/lib/Mojo/Util/Model.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 20 | 25.0 |
| line | true | false | branch |
|---|---|---|---|
| 46 | 0 | 339 | if (scalar @pieces > 1) |
| 49 | 0 | 0 | if ($self->can($field)) |
| 50 | 0 | 0 | if (ref $self->$field eq "HASH") |
| 67 | 339 | 0 | if ($self->can($field)) { } |
| 70 | 0 | 0 | if exists $self->{$field} |
| 87 | 8 | 8 | unless (scalar @fields) |
| 107 | 0 | 4 | defined $options->{'default'} ? : |
| 138 | 0 | 0 | $AUTOLOAD =~ /::(\w+)$/u ? : |
| 141 | 0 | 0 | unless $field =~ /[^A-Z]/u |
| 143 | 0 | 0 | if exists $self->{$field} |