line |
true |
false |
branch |
72
|
0 |
7 |
exists $api->{'paths'}{$path}{'parameters'} ? :
|
|
7 |
0 |
exists $api->{'paths'}{$path}{$method}{'parameters'} ? :
|
|
0 |
7 |
exists $api->{'paths'}{$path}{$method}{'requestBody'} ? :
|
77
|
0 |
7 |
if (&blessed($par_hash))
|
83
|
7 |
0 |
if $description->{'schema'}
|
84
|
1 |
6 |
unless (exists $par_hash->{$name})
|
85
|
0 |
1 |
if ($schema and exists $schema->{'default'})
|
91
|
0 |
6 |
if ($schema and $schema->{'type'} eq 'array') { }
|
93
|
0 |
0 |
ref $par_hash->{$name} eq 'ARRAY' ? :
|
95
|
0 |
0 |
if defined $value
|
96
|
0 |
0 |
unless defined $value
|
98
|
0 |
0 |
if @good_values
|
99
|
0 |
0 |
if @bad_values
|
102
|
4 |
2 |
if defined $value
|
103
|
2 |
4 |
unless defined $value
|
152
|
0 |
2 |
if ($self->{'reporter'}) { }
|
|
0 |
2 |
elsif ($reporter) { }
|
177
|
6 |
0 |
if $schema
|
180
|
0 |
1 |
if ($value eq "" and $schema and $schema->{'allowEmptyValue'})
|
181
|
0 |
0 |
if $schema->{'allowEmptyValue'} eq "true"
|
186
|
0 |
6 |
if ($schema and $schema->{'enum'})
|
191
|
0 |
6 |
if ($schema and $schema->{'pattern'})
|
192
|
0 |
0 |
$value =~ /^($schema->{'pattern'})$/ ? :
|
197
|
6 |
0 |
if ($format and exists $format_methods{$format})
|