| lib/Dancer/Plugin/DataTransposeValidator/Validator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 65 | 0 | 6 | defined $self->plugin_setting->{'css_error_class'} ? : |
| 115 | 5 | 4 | defined $self->plugin_setting->{'rules_dir'} ? : |
| 151 | 0 | 8 | unless my $rules = do $path |
| 152 | 2 | 6 | if (ref $rules eq 'CODE') |
| 180 | 2 | 6 | if ($clean) { } |
| 197 | 2 | 9 | if ($errors_hash and $errors_hash eq 'joined') { } |
| 2 | 7 | elsif ($errors_hash and $errors_hash eq 'arrayref') { } |