lib/Mojolicious/Plugin/Data/Validate/WithYAML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 24 | 58.3 |
line | true | false | branch |
---|---|---|---|
25 | 2 | 2 | unless ($file) |
32 | 0 | 4 | unless (-e $path) |
36 | 0 | 4 | unless $config |
38 | 0 | 4 | unless my $validator = 'Data::Validate::WithYAML'->new($path, %{{'no_steps', 1} unless $config;}) |
42 | 0 | 4 | unless $params |
44 | 4 | 0 | exists $$config{'error_prefix'} ? : |
53 | 0 | 2 | unless ($file) |
60 | 0 | 2 | unless (-e $path) |
64 | 0 | 2 | unless $config |
66 | 0 | 2 | unless my $validator = 'Data::Validate::WithYAML'->new($path, %{{'no_steps', 1} unless $config;}) |
71 | 0 | 2 | unless $info |
73 | 1 | 1 | unless $subinfo |