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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 82.8 % 297 246 4 47 2 68 176 2 11
Current Date: 2026-05-29 21:51:00 -0400 Functions: 93.8 % 16 15 1 11 4 1
Baseline: lcov-20260530-034037-baseline Branches: 53.4 % 266 142 10 2 112 1 2 56 83 4 6
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 33.3 % 3 1 2 1
(30,360] days: 97.1 % 69 67 2 67
(360..) days: 79.1 % 225 178 47 2 176
Function coverage date bins:
(30,360] days: 100.0 % 5 5 5
(360..) days: 90.9 % 11 10 1 6 4
Branch coverage date bins:
(30,360] days: 84.8 % 66 56 10 56
(360..) days: 43.0 % 200 86 2 112 1 2 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
sanitize_char UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
check_oauth_validator GNC 39 73.3 % (22 / 30) 50.0 % (12 / 24)
validate GNC 43 97.0 % (32 / 33) 67.9 % (19 / 28)
validate_token_format GNC 43 78.9 % (15 / 19) 55.0 % (11 / 20)
generate_error_response CBC 78 94.4 % (17 / 18) 50.0 % (4 / 8)
RegisterOAuthHBAOptions GNC 113 90.0 % (9 / 10) 75.0 % (6 / 8)
check_validator_hba_options GNC 113 100.0 % (15 / 15) 88.9 % (16 / 18)
parse_kvpairs_for_auth CBC 113 83.3 % (20 / 24) 35.0 % (7 / 20)
shutdown_validator_library GNC 113 100.0 % (5 / 5) 100.0 % (2 / 2)
validate_kvpair CBC 113 73.3 % (11 / 15) 44.4 % (8 / 18)
load_validator_library GNC 114 90.0 % (18 / 20) 50.0 % (10 / 20)
oauth_init GNC 114 91.7 % (11 / 12) 33.3 % (2 / 6)
oauth_get_mechanisms CBC 119 100.0 % (4 / 4)
oauth_exchange GNC 191 72.1 % (49 / 68) 35.9 % (23 / 64)
valid_oauth_hba_option_name GNC 233 100.0 % (5 / 5) 100.0 % (2 / 2)
GetOAuthHBAOption GNC 297 92.9 % (13 / 14) 83.3 % (20 / 24)

Generated by: LCOV version 2.5.0-beta