LCOV - differential code coverage report
Current view: top level - src/backend/utils/mb - mbutils.c (source / functions) Coverage Total Hit UBC CBC EUB ECB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 63.9 % 537 343 194 343
Current Date: 2025-09-06 07:49:51 +0900 Functions: 81.8 % 55 45 10 45
Baseline: lcov-20250908-010021-baseline Branches: 46.3 % 378 175 203 175 19 5
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 3 3 3
(360..) days: 63.7 % 534 340 194 340
Function coverage date bins:
(360..) days: 81.8 % 55 45 10 45
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
GetDatabaseEncoding CBC 7600545 100.0 % (2 / 2)
GetDatabaseEncodingName CBC 28382 100.0 % (2 / 2)
GetMessageEncoding UBC 0 0.0 % (0 / 2)
InitializeClientEncoding CBC 13963 93.3 % (14 / 15) 57.1 % (8 / 14)
PG_char_to_encoding CBC 18 100.0 % (3 / 3)
PG_encoding_to_char CBC 2464 100.0 % (4 / 4)
PrepareClientEncoding CBC 28855 71.0 % (22 / 31) 46.4 % (13 / 28)
SetClientEncoding CBC 30145 85.7 % (24 / 28) 76.9 % (20 / 26)
SetDatabaseEncoding CBC 13465 83.3 % (5 / 6) 37.5 % (3 / 8)
SetMessageEncoding CBC 15272 100.0 % (5 / 5) 50.0 % (3 / 6)
check_encoding_conversion_args CBC 3533 58.3 % (7 / 12) 39.3 % (11 / 28)
cliplen CBC 18267 100.0 % (6 / 6) 75.0 % (3 / 4)
getdatabaseencoding CBC 44 100.0 % (2 / 2)
length_in_encoding UBC 0 0.0 % (0 / 10) 0.0 % (0 / 4)
perform_default_encoding_conversion CBC 222 71.4 % (15 / 21) 35.7 % (5 / 14)
pg_any_to_server CBC 435419 82.4 % (14 / 17) 72.7 % (16 / 22)
pg_bind_textdomain_codeset CBC 17176 91.7 % (11 / 12) 70.0 % (7 / 10)
pg_client_encoding UBC 0 0.0 % (0 / 2)
pg_client_to_server CBC 392678 100.0 % (2 / 2)
pg_convert CBC 872 91.3 % (21 / 23) 41.7 % (5 / 12)
pg_convert_from CBC 290 100.0 % (6 / 6)
pg_convert_to CBC 198 100.0 % (6 / 6)
pg_database_encoding_character_incrementer CBC 1763 75.0 % (6 / 8) 66.7 % (2 / 3)
pg_database_encoding_max_length CBC 6235644 100.0 % (2 / 2)
pg_do_encoding_conversion CBC 1510 69.2 % (18 / 26) 42.3 % (11 / 26)
pg_do_encoding_conversion_buf CBC 2895 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_dsplen CBC 4362 100.0 % (2 / 2)
pg_encoding_max_length_sql UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
pg_encoding_mb2wchar_with_len CBC 9140 100.0 % (2 / 2)
pg_encoding_mbcliplen CBC 146229 100.0 % (15 / 15) 90.0 % (9 / 10)
pg_encoding_wchar2mb_with_len UBC 0 0.0 % (0 / 2)
pg_eucjp_increment UBC 0 0.0 % (0 / 43) 0.0 % (0 / 29)
pg_generic_charinc CBC 52 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_client_encoding CBC 5793 100.0 % (2 / 2)
pg_get_client_encoding_name UBC 0 0.0 % (0 / 2)
pg_mb2wchar UBC 0 0.0 % (0 / 2)
pg_mb2wchar_with_len CBC 3592057 100.0 % (2 / 2)
pg_mbcharcliplen CBC 264 92.9 % (13 / 14) 75.0 % (6 / 8)
pg_mbcliplen CBC 146229 100.0 % (2 / 2)
pg_mblen CBC 126615318 100.0 % (2 / 2)
pg_mbstrlen CBC 351 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_mbstrlen_with_len CBC 802823 100.0 % (10 / 10) 83.3 % (5 / 6)
pg_server_to_any CBC 18616417 83.3 % (10 / 12) 90.0 % (9 / 10)
pg_server_to_client CBC 18596698 100.0 % (2 / 2)
pg_unicode_to_server CBC 501 61.1 % (11 / 18) 33.3 % (4 / 12)
pg_unicode_to_server_noerror CBC 42 57.9 % (11 / 19) 50.0 % (4 / 8)
pg_utf8_increment CBC 1711 21.2 % (7 / 33) 22.7 % (5 / 22)
pg_verify_mbstr CBC 814650 87.5 % (7 / 8) 62.5 % (5 / 8)
pg_verify_mbstr_len UBC 0 0.0 % (0 / 30) 0.0 % (0 / 22)
pg_verifymbstr CBC 103594 100.0 % (2 / 2)
pg_wchar2mb UBC 0 0.0 % (0 / 2)
pg_wchar2mb_with_len CBC 557948 100.0 % (2 / 2)
raw_pg_bind_textdomain_codeset CBC 1583 50.0 % (5 / 10) 33.3 % (4 / 12)
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