Branch Coverage

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


line true false branch
17 0 3 unless @definitions
19 1 2 if (scalar @definitions == 1)
37 0 8 if (exists $common_def{'paths'}{$path}{$method})
46 0 5 if (exists $common_def{'components'}{'parameters'}{$param})
54 0 5 if (exists $common_def{'components'}{'schemas'}{$comp})
62 0 5 if (exists $common_def{'components'}{'securitySchemes'}{$security})