| blib/lib/HTML/WidgetValidator/WidgetContainer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 14 | 35.7 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 1 | 0 | unless (defined $args{'widgets'}) |
| 37 | 0 | 48 | unless ($module->require) |
| 43 | 0 | 75 | if ref $model ne 'ARRAY' or $#{$model;} == -1 |
| 45 | 7 | 68 | unless $$self{'pattern_tree'}{$name} |
| 64 | 0 | 0 | if ref $elements ne 'ARRAY' or $#{$elements;} == -1 |
| 68 | 0 | 0 | if $#{$model;} != $#{$elements;} |
| 71 | 0 | 0 | unless $e->compare($m) |