LCOV - differential code coverage report
Current view: top level - src/bin/pg_upgrade - check.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 51.1 % 755 386 68 21 280 3 49 334 7 13
Current Date: 2026-05-05 10:23:31 +0900 Functions: 62.8 % 43 27 3 2 11 8 19 1
Baseline: lcov-20260505-025707-baseline Branches: 42.8 % 360 154 43 3 160 3 33 118 6 6
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 76.0 % 25 19 6 19
(30,360] days: 25.4 % 126 32 62 21 11 30 2
(360..) days: 55.5 % 604 335 269 3 332
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 16.7 % 6 1 3 2 1
(360..) days: 69.4 % 36 25 11 6 19
Branch coverage date bins:
(7,30] days: 42.9 % 14 6 8 6
(30,360] days: 37.8 % 74 28 35 3 8 1 27
(360..) days: 44.1 % 272 120 152 2 118

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
check_and_dump_old_cluster GNC 18 75.6 % (31 / 41) 50.0 % (14 / 28)
check_cluster_compatibility CBC 18 85.7 % (6 / 7) 25.0 % (1 / 4)
check_cluster_versions CBC 19 76.2 % (16 / 21) 55.6 % (10 / 18)
check_for_connection_status CBC 18 93.1 % (27 / 29) 75.0 % (12 / 16)
check_for_data_types_usage GNC 15 97.4 % (37 / 38) 77.3 % (17 / 22)
check_for_gist_inet_ops UNC 0 0.0 % (0 / 15) 0.0 % (0 / 2)
check_for_incompatible_polymorphics UBC 0 0.0 % (0 / 23) 0.0 % (0 / 6)
check_for_isn_and_int8_passing_mismatch CBC 17 38.9 % (7 / 18) 25.0 % (1 / 4)
check_for_new_tablespace_dir GNC 14 88.9 % (8 / 9) 66.7 % (4 / 6)
check_for_not_null_inheritance LBC 0 0.0 % (0 / 15) 0.0 % (0 / 2)
check_for_pg_role_prefix UBC 0 0.0 % (0 / 21) 0.0 % (0 / 8)
check_for_prepared_transactions CBC 31 75.0 % (9 / 12) 25.0 % (1 / 4)
check_for_tables_with_oids UBC 0 0.0 % (0 / 15) 0.0 % (0 / 2)
check_for_unicode_update CBC 15 36.8 % (7 / 19) 33.3 % (2 / 6)
check_for_unsupported_encodings GNC 17 75.0 % (18 / 24) 42.9 % (6 / 14)
check_for_user_defined_encoding_conversions UBC 0 0.0 % (0 / 15) 0.0 % (0 / 2)
check_for_user_defined_postfix_ops UBC 0 0.0 % (0 / 15) 0.0 % (0 / 2)
check_is_install_user CBC 31 82.4 % (14 / 17) 60.0 % (6 / 10)
check_new_cluster GNC 15 92.6 % (25 / 27) 75.0 % (6 / 8)
check_new_cluster_is_empty CBC 15 63.6 % (7 / 11) 83.3 % (5 / 6)
check_new_cluster_replication_slots GNC 14 79.5 % (31 / 39) 67.6 % (23 / 34)
check_new_cluster_subscription_configuration CBC 12 87.5 % (14 / 16) 75.0 % (6 / 8)
check_old_cluster_for_valid_slots GNC 17 66.7 % (20 / 30) 53.8 % (14 / 26)
check_old_cluster_global_names UNC 0 0.0 % (0 / 23) 0.0 % (0 / 10)
check_old_cluster_subscription_state CBC 16 96.0 % (24 / 25) 75.0 % (6 / 8)
create_script_for_old_cluster_deletion GNC 10 67.6 % (25 / 37) 66.7 % (8 / 12)
data_type_check_query CBC 30 100.0 % (3 / 3)
fix_path_separator CBC 24 100.0 % (2 / 2)
issue_warnings_and_set_wal_level CBC 10 85.7 % (6 / 7) 50.0 % (1 / 2)
output_check_banner CBC 19 80.0 % (4 / 5) 50.0 % (1 / 2)
output_completion_banner CBC 10 66.7 % (8 / 12) 50.0 % (2 / 4)
process_data_type_check CBC 96 37.5 % (9 / 24) 10.0 % (1 / 10)
process_gist_inet_ops_check UNC 0 0.0 % (0 / 13) 0.0 % (0 / 8)
process_incompat_polymorphics UBC 0 0.0 % (0 / 13) 0.0 % (0 / 8)
process_inconsistent_notnull LBC 0 0.0 % (0 / 14) 0.0 % (0 / 8)
process_isn_and_int8_passing_mismatch UBC 0 0.0 % (0 / 13) 0.0 % (0 / 8)
process_old_sub_state_check CBC 50 85.7 % (12 / 14) 62.5 % (5 / 8)
process_unicode_update UBC 0 0.0 % (0 / 14) 0.0 % (0 / 8)
process_user_defined_encoding_conversions UBC 0 0.0 % (0 / 14) 0.0 % (0 / 8)
process_user_defined_postfix_ops UBC 0 0.0 % (0 / 16) 0.0 % (0 / 8)
process_with_oids_check UBC 0 0.0 % (0 / 13) 0.0 % (0 / 8)
report_clusters_compatible CBC 11 100.0 % (8 / 8) 100.0 % (2 / 2)
unicode_version_changed CBC 15 100.0 % (8 / 8)

Generated by: LCOV version 2.5.0-beta