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