Branch Coverage

blib/lib/OpenAPI/Generator/Util.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
17 0 4 unless @definitions
19 1 3 if (scalar @definitions == 1)
30 0 10 if (exists $common_def{'paths'}{$path}{$method})
39 0 5 if (exists $common_def{'components'}{'parameters'}{$param})
47 0 5 if (exists $common_def{'components'}{'schemas'}{$comp})
55 0 5 if (exists $common_def{'components'}{'securitySchemes'}{$security})