LCOV - differential code coverage report
Current view: top level - src/backend/utils/mb - mbutils.c (source / functions) Coverage Total Hit UBC GNC CBC EUB ECB DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 63.9 % 537 343 194 2 341 2
Current Date: 2025-12-17 08:58:58 +0900 Functions: 81.8 % 55 45 10 2 43 2
Baseline: lcov-20251217-005640-baseline Branches: 46.3 % 378 175 203 175 19 5
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 5 5 2 3
(360..) days: 63.5 % 532 338 194 338
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 81.1 % 53 43 10 43
Branch coverage date bins:
(360..) days: 43.5 % 402 175 203 175 19 5

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
pg_eucjp_increment UBC 0 0.0 % (0 / 43) 0.0 % (0 / 29)
pg_verify_mbstr_len UBC 0 0.0 % (0 / 30) 0.0 % (0 / 22)
pg_utf8_increment CBC 1763 21.2 % (7 / 33) 22.7 % (5 / 22)
length_in_encoding UBC 0 0.0 % (0 / 10) 0.0 % (0 / 4)
PrepareClientEncoding CBC 30052 71.0 % (22 / 31) 46.4 % (13 / 28)
pg_do_encoding_conversion CBC 1509 69.2 % (18 / 26) 42.3 % (11 / 26)
perform_default_encoding_conversion CBC 224 71.4 % (15 / 21) 35.7 % (5 / 14)
check_encoding_conversion_args CBC 3544 58.3 % (7 / 12) 39.3 % (11 / 28)
pg_encoding_max_length_sql UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
raw_pg_bind_textdomain_codeset CBC 1615 50.0 % (5 / 10) 33.3 % (4 / 12)
SetClientEncoding CBC 31398 85.7 % (24 / 28) 76.9 % (20 / 26)
pg_any_to_server CBC 453601 82.4 % (14 / 17) 72.7 % (16 / 22)
GetMessageEncoding UBC 0 0.0 % (0 / 2)
pg_client_encoding UBC 0 0.0 % (0 / 2)
pg_convert CBC 872 91.3 % (21 / 23) 41.7 % (5 / 12)
pg_database_encoding_character_incrementer CBC 1815 75.0 % (6 / 8) 66.7 % (2 / 3)
pg_encoding_wchar2mb_with_len UBC 0 0.0 % (0 / 2)
pg_get_client_encoding_name UBC 0 0.0 % (0 / 2)
pg_mb2wchar UBC 0 0.0 % (0 / 2)
pg_server_to_any CBC 19070862 83.3 % (10 / 12) 90.0 % (9 / 10)
pg_wchar2mb UBC 0 0.0 % (0 / 2)
InitializeClientEncoding CBC 14534 93.3 % (14 / 15) 57.1 % (8 / 14)
SetDatabaseEncoding CBC 14038 83.3 % (5 / 6) 37.5 % (3 / 8)
pg_bind_textdomain_codeset CBC 17854 91.7 % (11 / 12) 70.0 % (7 / 10)
pg_generic_charinc CBC 52 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_mbcharcliplen CBC 264 92.9 % (13 / 14) 75.0 % (6 / 8)
pg_mbstrlen CBC 351 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_verify_mbstr CBC 834739 87.5 % (7 / 8) 62.5 % (5 / 8)
GetDatabaseEncoding CBC 4700027 100.0 % (2 / 2)
GetDatabaseEncodingName CBC 29595 100.0 % (2 / 2)
PG_char_to_encoding CBC 18 100.0 % (3 / 3)
PG_encoding_to_char CBC 2457 100.0 % (4 / 4)
SetMessageEncoding CBC 15919 100.0 % (5 / 5) 50.0 % (3 / 6)
cliplen CBC 18672 100.0 % (6 / 6) 75.0 % (3 / 4)
getdatabaseencoding CBC 44 100.0 % (2 / 2)
pg_client_to_server CBC 409995 100.0 % (2 / 2)
pg_convert_from CBC 290 100.0 % (6 / 6)
pg_convert_to CBC 198 100.0 % (6 / 6)
pg_database_encoding_max_length CBC 3211370 100.0 % (2 / 2)
pg_do_encoding_conversion_buf CBC 2904 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_dsplen CBC 4362 100.0 % (2 / 2)
pg_encoding_mb2wchar_with_len CBC 9140 100.0 % (2 / 2)
pg_encoding_mbcliplen CBC 153148 100.0 % (15 / 15) 90.0 % (9 / 10)
pg_get_client_encoding CBC 5568 100.0 % (2 / 2)
pg_mb2wchar_with_len CBC 5115837 100.0 % (2 / 2)
pg_mbcliplen CBC 153148 100.0 % (2 / 2)
pg_mblen CBC 126978442 100.0 % (2 / 2)
pg_mbstrlen_with_len CBC 804748 100.0 % (10 / 10) 83.3 % (5 / 6)
pg_server_to_client CBC 19051135 100.0 % (2 / 2)
pg_verifymbstr CBC 103594 100.0 % (2 / 2)
pg_wchar2mb_with_len CBC 558326 100.0 % (2 / 2)
report_invalid_encoding CBC 1495 100.0 % (10 / 10) 83.3 % (5 / 6)
report_untranslatable_char CBC 468 100.0 % (10 / 10) 83.3 % (5 / 6)

Generated by: LCOV version 2.4-beta