Branch Coverage

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


line true false branch
18 0 3 unless @definitions
20 1 2 if (scalar @definitions == 1)
38 0 8 if (exists $common_def{'paths'}{$path}{$method})
47 0 5 if (exists $common_def{'components'}{'parameters'}{$param})
55 0 5 if (exists $common_def{'components'}{'schemas'}{$comp})
63 0 5 if (exists $common_def{'components'}{'securitySchemes'}{$security})