| lib/Mojolicious/Plugin/Data/Validate/WithYAML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 18 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 2 | 3 | unless $config->{'conf_path'} |
| 20 | 3 | 2 | unless defined $config->{'no_steps'} |
| 27 | 2 | 5 | $step ? : |
| 32 | 6 | 1 | exists $config->{'error_prefix'} ? : |
| 45 | 1 | 2 | unless $info |
| 47 | 1 | 1 | unless $subinfo |
| 55 | 6 | 7 | unless ($file) |
| 62 | 2 | 11 | unless -e $path |
| 66 | 1 | 10 | unless my $validator = 'Data::Validate::WithYAML'->new($path, %{$config;}) |