LCOV - differential code coverage report
Current view: top level - src/backend/utils/mb - mbutils.c (source / functions) Coverage Total Hit LBC UIC UBC GBC GIC GNC CBC EUB ECB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 65.9 % 563 371 192 2 2 367 2
Current Date: 2026-05-05 10:23:31 +0900 Functions: 83.6 % 61 51 10 2 49 2
Baseline: lcov-20260505-025707-baseline Branches: 47.6 % 412 196 8 13 195 9 9 178 19 5
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 97.0 % 33 32 1 2 30
(360..) days: 64.0 % 530 339 191 2 337
Function coverage date bins:
(30,360] days: 100.0 % 8 8 2 6
(360..) days: 81.1 % 53 43 10 43
Branch coverage date bins:
(30,360] days: 83.3 % 12 10 2 10
(360..) days: 43.9 % 424 186 8 13 193 9 9 168 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 5567734 100.0 % (2 / 2)
GetDatabaseEncodingName CBC 35623 100.0 % (2 / 2)
GetMessageEncoding UBC 0 0.0 % (0 / 2)
InitializeClientEncoding CBC 17449 93.3 % (14 / 15) 57.1 % (8 / 14)
PG_char_to_encoding CBC 6110 100.0 % (3 / 3)
PG_encoding_to_char CBC 2382 100.0 % (4 / 4)
PrepareClientEncoding CBC 35744 71.0 % (22 / 31) 46.7 % (14 / 30)
SetClientEncoding CBC 37666 85.7 % (24 / 28) 75.0 % (21 / 28)
SetDatabaseEncoding CBC 16888 83.3 % (5 / 6) 40.0 % (4 / 10)
SetMessageEncoding CBC 19052 100.0 % (5 / 5) 50.0 % (4 / 8)
check_encoding_conversion_args CBC 3314 58.3 % (7 / 12) 40.6 % (13 / 32)
cliplen CBC 21035 100.0 % (6 / 6) 75.0 % (3 / 4)
getdatabaseencoding CBC 6154 100.0 % (2 / 2)
length_in_encoding UBC 0 0.0 % (0 / 10) 0.0 % (0 / 4)
perform_default_encoding_conversion CBC 240 71.4 % (15 / 21) 35.7 % (5 / 14)
pg_any_to_server CBC 547259 82.4 % (14 / 17) 70.8 % (17 / 24)
pg_bind_textdomain_codeset CBC 21540 91.7 % (11 / 12) 70.0 % (7 / 10)
pg_client_encoding UBC 0 0.0 % (0 / 2)
pg_client_to_server CBC 498913 100.0 % (2 / 2)
pg_convert CBC 1060 91.3 % (21 / 23) 41.7 % (5 / 12)
pg_convert_from CBC 396 100.0 % (6 / 6)
pg_convert_to CBC 272 100.0 % (6 / 6)
pg_database_encoding_character_incrementer CBC 2418 75.0 % (6 / 8) 66.7 % (2 / 3)
pg_database_encoding_max_length CBC 3595959 100.0 % (2 / 2)
pg_do_encoding_conversion CBC 1918 69.2 % (18 / 26) 42.3 % (11 / 26)
pg_do_encoding_conversion_buf CBC 2620 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_dsplen CBC 7179 100.0 % (2 / 2)
pg_encoding_max_length_sql UBC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_encoding_mb2wchar_with_len CBC 12373 100.0 % (2 / 2)
pg_encoding_mbcliplen CBC 195796 100.0 % (15 / 15) 90.0 % (9 / 10)
pg_encoding_wchar2mb_with_len CBC 116 100.0 % (2 / 2)
pg_eucjp_increment UBC 0 0.0 % (0 / 43) 0.0 % (0 / 29)
pg_generic_charinc CBC 48 87.5 % (7 / 8) 50.0 % (2 / 4)
pg_get_client_encoding CBC 6376 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 6730289 100.0 % (2 / 2)
pg_mbcharcliplen CBC 360 92.9 % (13 / 14) 75.0 % (6 / 8)
pg_mbcliplen CBC 195796 100.0 % (2 / 2)
pg_mblen UBC 0 0.0 % (0 / 2)
pg_mblen_cstr CBC 2306247 100.0 % (7 / 7) 100.0 % (4 / 4)
pg_mblen_range CBC 3487245 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_mblen_unbounded CBC 12799116 100.0 % (3 / 3)
pg_mblen_with_len CBC 38110132 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_mbstrlen CBC 76 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_mbstrlen_with_len CBC 533162 100.0 % (10 / 10) 100.0 % (6 / 6)
pg_server_to_any CBC 25176693 100.0 % (12 / 12) 100.0 % (10 / 10)
pg_server_to_client CBC 25153905 100.0 % (2 / 2)
pg_unicode_to_server GNC 679 61.1 % (11 / 18) 33.3 % (4 / 12)
pg_unicode_to_server_noerror GNC 60 57.9 % (11 / 19) 50.0 % (4 / 8)
pg_utf8_increment CBC 2370 21.2 % (7 / 33) 22.7 % (5 / 22)
pg_verify_mbstr CBC 1006395 87.5 % (7 / 8) 60.0 % (6 / 10)
pg_verify_mbstr_len UBC 0 0.0 % (0 / 30) 0.0 % (0 / 24)
pg_verifymbstr CBC 153663 100.0 % (2 / 2)
pg_wchar2mb UBC 0 0.0 % (0 / 2)
pg_wchar2mb_with_len CBC 579771 100.0 % (2 / 2)
raw_pg_bind_textdomain_codeset CBC 1653 50.0 % (5 / 10) 35.7 % (5 / 14)
report_invalid_encoding CBC 1626 100.0 % (3 / 3)
report_invalid_encoding_db CBC 28 100.0 % (2 / 2)
report_invalid_encoding_int CBC 1654 100.0 % (9 / 9) 83.3 % (5 / 6)
report_untranslatable_char CBC 384 100.0 % (10 / 10) 83.3 % (5 / 6)

Generated by: LCOV version 2.5.0-beta