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