Branch Coverage

blib/lib/VM/HetznerCloud/Schema.pm
Criterion Covered Total %
branch 12 40 30.0


line true false branch
32 0 6 $spec->{'param_names'}{$camelized} ? :
39 0 7 if (@errors)
48 15 4 unless $check_params{$param_name}
57 0 0 @$parts && $parts->[-1] =~ /\{/u ? :
60 0 0 @static_parts ? :
62 0 0 if ($all)
63 0 0 if $method eq "get"
64 0 0 if $method eq "post"
74 5 2 if $op_data
84 0 2 unless $op
94 0 5 if $param->{'name'} eq "Auth-API-Token"
98 1 4 if ($param->{'required'})
107 0 2 if ($op->{'requestBody'})
113 0 0 if ($content_type eq 'application/json') { }
0 0 elsif ($content_type eq 'text/plain') { }
150 0 2 if ($spec->{'properties'}{'$ref'})
156 0 0 if ($data->{'properties'})
158 0 0 if $data->{'properties'}{$property}{'readOnly'}
164 0 0 if ($data->{'allOf'})
166 0 0 if ($data->{'required'})