LCOV - differential code coverage report
Current view: top level - src/backend/libpq - auth-oauth.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GIC GNC CBC DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 82.8 % 297 246 2 49 2 67 177 10
Current Date: 2026-05-05 10:23:31 +0900 Functions: 93.8 % 16 15 1 10 5 1
Baseline: lcov-20260505-025707-baseline Branches: 53.4 % 266 142 10 1 113 2 1 56 83 2 6
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 95.9 % 49 47 2 47
(30,360] days: 100.0 % 20 20 20
(360..) days: 78.5 % 228 179 49 2 177
Function coverage date bins:
(7,30] days: 100.0 % 4 4 4
(30,360] days: 100.0 % 1 1 1
(360..) days: 90.9 % 11 10 1 5 5
Branch coverage date bins:
(7,30] days: 85.2 % 54 46 8 46
(30,360] days: 83.3 % 12 10 2 10
(360..) days: 43.0 % 200 86 1 113 2 1 83

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
oauth_exchange GNC 191 72.1 % (49 / 68) 35.9 % (23 / 64)
check_oauth_validator CBC 39 73.3 % (22 / 30) 50.0 % (12 / 24)
sanitize_char UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
parse_kvpairs_for_auth CBC 113 83.3 % (20 / 24) 35.0 % (7 / 20)
validate_kvpair CBC 113 73.3 % (11 / 15) 44.4 % (8 / 18)
validate_token_format GNC 43 78.9 % (15 / 19) 55.0 % (11 / 20)
load_validator_library GNC 114 90.0 % (18 / 20) 50.0 % (10 / 20)
GetOAuthHBAOption GNC 297 92.9 % (13 / 14) 83.3 % (20 / 24)
RegisterOAuthHBAOptions GNC 113 90.0 % (9 / 10) 75.0 % (6 / 8)
generate_error_response CBC 78 94.4 % (17 / 18) 50.0 % (4 / 8)
oauth_init GNC 114 91.7 % (11 / 12) 33.3 % (2 / 6)
check_validator_hba_options GNC 113 100.0 % (15 / 15) 88.9 % (16 / 18)
oauth_get_mechanisms CBC 119 100.0 % (4 / 4)
shutdown_validator_library GNC 113 100.0 % (5 / 5) 100.0 % (2 / 2)
valid_oauth_hba_option_name GNC 233 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta