line |
true |
false |
branch |
15
|
0 |
2 |
if (eval {
do {
require YAML::XS
}
}) { } |
|
0 |
2 |
elsif (eval {
do {
require YAML
}
}) { } |
43
|
1 |
2 |
unless @defs |
55
|
2 |
3 |
unless ($openapi_node) |
69
|
6 |
30 |
unless ref $node eq 'ARRAY' |
70
|
15 |
15 |
unless $node->[0] eq 'item-text' |
75
|
0 |
15 |
if (not $definition_node or $definition_node->[0] ne 'Verbatim') |
80
|
3 |
12 |
if ($item_name =~ /^\s*SCHEMA/) { } |
|
3 |
9 |
elsif ($item_name =~ /^\s*PARAM/) { } |
|
3 |
6 |
elsif ($item_name =~ /^\s*SECURITY/) { } |
117
|
10 |
9 |
unless ref $node eq 'ARRAY' |
118
|
3 |
6 |
if ($node->[2] eq 'OPENAPI') |
120
|
0 |
3 |
unless ($openapi_node) |
131
|
0 |
3 |
unless -f $_[1] or -d $_[1] |
132
|
0 |
3 |
unless -r $_[1] |
137
|
2 |
1 |
if -f $_[1] |
140
|
3 |
1 |
if /\.(pm|pl|t|pod)$/ |