| lib/Mojolicious/Plugin/Data/Validate/WithYAML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 16 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 2 | 2 | unless $config->{'conf_path'} |
| 20 | 3 | 1 | unless defined $config->{'no_steps'} |
| 31 | 4 | 1 | exists $config->{'error_prefix'} ? : |
| 44 | 1 | 2 | unless $info |
| 46 | 1 | 1 | unless $subinfo |
| 54 | 6 | 5 | unless ($file) |
| 63 | 2 | 9 | unless -e $path |
| 67 | 1 | 8 | unless my $validator = 'Data::Validate::WithYAML'->new($path, %{$config;}) |