| blib/lib/Mandel.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 2 | 0 | if (my $class = ref $self) { } |
| 36 | 3 | 0 | unless $self->{'model'} |
| 41 | 3 | 3 | unless $name->isa('Mandel::Document') |
| 53 | 2 | 3 | if (my $class = $self->{'loaded'}{$name}) |
| 60 | 0 | 3 | if ref $e |
| 61 | 0 | 3 | if $e |
| 77 | 10 | 12 | if ($model) { } |
| 78 | 10 | 0 | if ref $model eq 'HASH' |
| 90 | 2 | 1 | ref $_[-1] eq 'HASH' ? : |
| 92 | 1 | 2 | @_ ? : |