Branch Coverage: lib/OpenAPI/Backend/Pg.pm

# Branch Coverage

File: | lib/OpenAPI/Backend/Pg.pm
Coverage: | 57.1%

line | % | coverage | branch
--- | --- | --- | ---
16 | 50 | T | F | unless $Host ||= $OpenAPI::Config{'backend.host'}
18 | 50 | T | F | unless $User ||= $OpenAPI::Config{'backend.user'}
22 | 50 | T | F | unless $Database ||= $OpenAPI::Config{'backend.database'}
25 | 50 | T | F | $Port ? :
47 | 100 | T | F | $$opts{'use_hash'} ? :
72 | 50 | T | F | if ($res and @$res)
85 | 50 | T | F | if ($@)