blib/lib/OpenAPI/Generator/From/Definitions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 16 | 62.5 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 1 | unless (@files) |
33 | 0 | 3 | unless -r $file |
36 | 0 | 3 | unless open my $fh, '<', $file |
41 | 1 | 2 | if ($file =~ /\.json$/u) { } |
54 | 0 | 1 | unless -f $_[1] or -d $_[1] |
55 | 0 | 1 | unless -r $_[1] |
60 | 0 | 1 | if -f $_[1] |
63 | 3 | 1 | if /\.(yml|yaml|json)$/u |