Condition Coverage

lib/Dancer2/Plugin/OpenAPIRoutes.pm
Criterion Covered Total %
condition 0 42 0.0


and 3 conditions

line !l l&&!r l&&r condition
65 0 0 0 $mn == 1 and not exists $paths{$p}
126 0 0 0 $rfunc eq 'create' and $func eq 'post'
0 0 0 $rfunc eq 'create' and $func eq 'post' and $path_spec =~ m[/\{[^/{}]*\}$]
144 0 0 0 $schema and 'HASH' eq ref $schema
147 0 0 0 'HASH' eq ref $_ and exists $_->{'$ref'}
0 0 0 'HASH' eq ref $_ and exists $_->{'$ref'} and not ref $_->{'$ref'}
0 0 0 'HASH' eq ref $_ and exists $_->{'$ref'} and not ref $_->{'$ref'} and keys %$_ == 1
179 0 0 0 $required && !$ValidationCompiler
200 0 0 0 $parameter_spec->{'type'} and $parameter_spec->{'type'} eq 'integer'
207 0 0 0 $parameter_spec->{'type'} and $parameter_spec->{'type'} eq 'file'
218 0 0 0 $schema{'properties'}{$name}{'type'} and $schema{'properties'}{$name}{'type'} eq 'file'
269 0 0 0 $custom_map and 'HASH' eq ref $custom_map

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 0 $config->{'default_module'} || $config->{'appname'}
353 0 0 0 not $success_load or $@