LCOV - differential code coverage report
Current view: top level - src/backend/utils/mb - mbutils.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 63.5 % 537 341 4 192 7 334 4 9
Current Date: 2024-04-14 14:21:10 Functions: 81.8 % 55 45 10 2 43
Baseline: 16@8cea358b128 Branches: 43.1 % 404 174 8 222 2 6 166
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 42.9 % 7 3 4 3
(120,180] days: 100.0 % 4 4 4
(240..) days: 63.5 % 526 334 192 334
Function coverage date bins:
(240..) days: 81.8 % 55 45 10 2 43
Branch coverage date bins:
[..60] days: 33.3 % 12 4 8 4
(120,180] days: 100.0 % 2 2 2
(240..) days: 43.1 % 390 168 222 2 166

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 8461497 100.0 % (2 / 2)
GetDatabaseEncodingName CBC 27997 100.0 % (2 / 2)
GetMessageEncoding UBC 0 0.0 % (0 / 2)
InitializeClientEncoding CBC 13729 93.3 % (14 / 15) 56.2 % (9 / 16)
PG_char_to_encoding CBC 27 100.0 % (3 / 3)
PG_encoding_to_char CBC 1926 100.0 % (4 / 4)
PrepareClientEncoding CBC 32160 71.0 % (22 / 31) 46.4 % (13 / 28)
SetClientEncoding CBC 29414 85.7 % (24 / 28) 73.1 % (19 / 26)
SetDatabaseEncoding CBC 13246 83.3 % (5 / 6) 37.5 % (3 / 8)
SetMessageEncoding CBC 14808 100.0 % (5 / 5) 50.0 % (3 / 6)
check_encoding_conversion_args CBC 3431 58.3 % (7 / 12) 39.3 % (11 / 28)
cliplen CBC 16031 100.0 % (6 / 6) 75.0 % (3 / 4)
getdatabaseencoding CBC 50 100.0 % (2 / 2)
length_in_encoding UBC 0 0.0 % (0 / 10) 0.0 % (0 / 16)
perform_default_encoding_conversion CBC 162 71.4 % (15 / 21) 35.7 % (5 / 14)
pg_any_to_server CBC 387860 70.6 % (12 / 17) 50.0 % (11 / 22)
pg_bind_textdomain_codeset CBC 16810 91.7 % (11 / 12) 70.0 % (7 / 10)
pg_client_encoding UBC 0 0.0 % (0 / 2)
pg_client_to_server CBC 348023 100.0 % (2 / 2)
pg_convert GNC 776 91.3 % (21 / 23) 41.7 % (10 / 24)
pg_convert_from CBC 284 100.0 % (6 / 6)
pg_convert_to CBC 108 100.0 % (6 / 6)
pg_database_encoding_character_incrementer CBC 1235 75.0 % (6 / 8) 66.7 % (2 / 3)
pg_database_encoding_max_length CBC 6167009 100.0 % (2 / 2)
pg_do_encoding_conversion CBC 1393 69.2 % (18 / 26) 42.3 % (11 / 26)
pg_do_encoding_conversion_buf CBC 2853 100.0 % (5 / 5) 50.0 % (1 / 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 120671 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 4749 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 507193 100.0 % (2 / 2)
pg_mbcharcliplen CBC 225 92.9 % (13 / 14) 75.0 % (6 / 8)
pg_mbcliplen CBC 120671 100.0 % (2 / 2)
pg_mblen CBC 119941532 100.0 % (2 / 2)
pg_mbstrlen CBC 351 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_mbstrlen_with_len CBC 765252 100.0 % (10 / 10) 83.3 % (5 / 6)
pg_server_to_any CBC 15411536 83.3 % (10 / 12) 90.0 % (9 / 10)
pg_server_to_client CBC 15392468 100.0 % (2 / 2)
pg_unicode_to_server CBC 315 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 1183 21.2 % (7 / 33) 22.7 % (5 / 22)
pg_verify_mbstr CBC 756002 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 103573 100.0 % (2 / 2)
pg_wchar2mb UBC 0 0.0 % (0 / 2)
pg_wchar2mb_with_len CBC 556478 100.0 % (2 / 2)
raw_pg_bind_textdomain_codeset GNC 1572 50.0 % (5 / 10) 33.3 % (4 / 12)
report_invalid_encoding CBC 1471 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.1-beta2-3-g6141622