LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - xml.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC ECB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 82.4 % 1768 1456 17 295 2 44 1410 2 4 29
Current Date: 2026-05-29 21:51:00 -0400 Functions: 87.6 % 105 92 1 12 1 12 79 1
Baseline: lcov-20260530-034037-baseline Branches: 60.5 % 1407 851 26 530 20 831 51 23
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 75.9 % 83 63 17 3 44 19
(360..) days: 82.7 % 1685 1393 292 2 1391 2
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 87.5 % 104 91 1 12 1 11 79
Branch coverage date bins:
(30,360] days: 53.2 % 62 33 26 3 20 13
(360..) days: 60.8 % 1345 818 527 818

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
GetXmlTableBuilderPrivateData CBC 107731 71.4 % (5 / 7) 25.0 % (2 / 8)
SPI_sql_row_to_xmlelement CBC 206 100.0 % (23 / 23) 100.0 % (14 / 14)
XmlTableDestroyOpaque CBC 176 100.0 % (21 / 21) 75.0 % (12 / 16)
XmlTableFetchRow CBC 15481 92.3 % (12 / 13) 66.7 % (8 / 12)
XmlTableGetValue CBC 91202 94.4 % (51 / 54) 74.1 % (40 / 54)
XmlTableInitOpaque GNC 176 72.7 % (16 / 22) 40.0 % (4 / 10)
XmlTableSetColumnFilter GNC 516 81.8 % (9 / 11) 41.7 % (5 / 12)
XmlTableSetDocument CBC 176 69.2 % (18 / 26) 37.5 % (6 / 16)
XmlTableSetNamespace CBC 12 88.9 % (8 / 9) 66.7 % (4 / 6)
XmlTableSetRowFilter CBC 172 80.0 % (8 / 10) 40.0 % (4 / 10)
_SPI_strdup CBC 16 100.0 % (5 / 5)
appendStringInfoLineSeparator CBC 393 100.0 % (5 / 5) 100.0 % (2 / 2)
appendStringInfoText CBC 93 100.0 % (3 / 3)
chopStringInfoNewlines CBC 592 100.0 % (4 / 4) 100.0 % (4 / 4)
cstring_to_xmltype CBC 57 100.0 % (2 / 2)
cursor_to_xml CBC 8 95.2 % (20 / 21) 70.0 % (7 / 10)
cursor_to_xmlschema CBC 8 85.7 % (12 / 14) 25.0 % (2 / 8)
database_get_xml_visible_schemas UBC 0 0.0 % (0 / 2)
database_get_xml_visible_tables UBC 0 0.0 % (0 / 2)
database_to_xml UBC 0 0.0 % (0 / 5)
database_to_xml_and_xmlschema UBC 0 0.0 % (0 / 6)
database_to_xml_internal UBC 0 0.0 % (0 / 17) 0.0 % (0 / 8)
database_to_xmlschema UBC 0 0.0 % (0 / 5)
database_to_xmlschema_internal UBC 0 0.0 % (0 / 16) 0.0 % (0 / 6)
errdetail_for_xml_code CBC 4 25.0 % (6 / 24) 14.3 % (1 / 7)
escape_xml CBC 75887 70.0 % (14 / 20) 66.7 % (6 / 9)
is_valid_xml_namechar CBC 9752 100.0 % (6 / 6) 50.0 % (32 / 64)
is_valid_xml_namefirst CBC 2421 100.0 % (3 / 3) 40.0 % (16 / 40)
map_multipart_sql_identifier_to_xml_name CBC 256 100.0 % (12 / 12) 62.5 % (5 / 8)
map_sql_catalog_to_xmlschema_types UBC 0 0.0 % (0 / 17) 0.0 % (0 / 6)
map_sql_identifier_to_xml_name CBC 2430 81.8 % (18 / 22) 81.2 % (26 / 32)
map_sql_schema_to_xmlschema_types CBC 12 100.0 % (24 / 24) 92.9 % (13 / 14)
map_sql_table_to_xmlschema GNC 52 97.4 % (37 / 38) 81.2 % (13 / 16)
map_sql_type_to_xml_name CBC 540 82.9 % (63 / 76) 69.4 % (25 / 36)
map_sql_type_to_xmlschema_type CBC 364 80.9 % (55 / 68) 68.6 % (24 / 35)
map_sql_typecoll_to_xmlschema_types CBC 64 100.0 % (18 / 18) 87.5 % (21 / 24)
map_sql_value_to_xml_value CBC 90753 83.1 % (69 / 83) 56.5 % (35 / 62)
map_xml_name_to_sql_identifier CBC 72 100.0 % (16 / 16) 62.5 % (10 / 16)
parse_xml_decl CBC 47013 86.5 % (77 / 89) 48.6 % (101 / 208)
pg_xmlCharStrndup CBC 1666 100.0 % (5 / 5)
pg_xml_done CBC 16652 91.7 % (11 / 12) 30.0 % (3 / 10)
pg_xml_error_occurred GBC 62 100.0 % (2 / 2)
pg_xml_init GNC 16652 93.8 % (15 / 16) 25.0 % (1 / 4)
pg_xml_init_library CBC 63665 100.0 % (5 / 5) 100.0 % (2 / 2)
print_xml_decl CBC 15891 94.1 % (16 / 17) 70.0 % (14 / 20)
query_to_oid_list CBC 24 90.9 % (10 / 11) 50.0 % (4 / 8)
query_to_xml CBC 6 100.0 % (6 / 6)
query_to_xml_and_xmlschema CBC 4 85.7 % (12 / 14) 25.0 % (2 / 8)
query_to_xml_internal CBC 74 94.7 % (18 / 19) 78.6 % (11 / 14)
query_to_xmlschema CBC 4 85.7 % (12 / 14) 25.0 % (2 / 8)
schema_get_xml_visible_tables CBC 24 100.0 % (4 / 4)
schema_to_xml CBC 8 100.0 % (8 / 8)
schema_to_xml_and_xmlschema CBC 4 100.0 % (9 / 9)
schema_to_xml_internal CBC 12 100.0 % (17 / 17) 87.5 % (7 / 8)
schema_to_xmlschema CBC 8 100.0 % (6 / 6)
schema_to_xmlschema_internal CBC 12 100.0 % (16 / 16) 83.3 % (5 / 6)
sqlchar_to_unicode CBC 12173 83.3 % (5 / 6) 50.0 % (1 / 2)
stringinfo_to_xmltype CBC 15176 100.0 % (2 / 2)
table_to_xml CBC 24 100.0 % (6 / 6)
table_to_xml_and_xmlschema CBC 16 100.0 % (9 / 9)
table_to_xml_internal CBC 64 100.0 % (4 / 4)
table_to_xmlschema CBC 20 100.0 % (9 / 9)
texttoxml GNC 6 100.0 % (3 / 3)
wellformed_xml CBC 80 100.0 % (6 / 6) 100.0 % (2 / 2)
xmlBuffer_to_xmltype CBC 15247 100.0 % (2 / 2)
xmlChar_to_encoding UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
xmlPgEntityLoader CBC 12 100.0 % (2 / 2)
xml_doctype_in_content CBC 647 88.0 % (22 / 25) 79.2 % (19 / 24)
xml_ereport CBC 9 77.8 % (7 / 9) 60.0 % (6 / 10)
xml_errorHandler GNC 267 93.3 % (56 / 60) 59.5 % (25 / 42)
xml_errsave CBC 137 77.8 % (7 / 9) 50.0 % (5 / 10)
xml_in GNC 568 100.0 % (7 / 7) 100.0 % (2 / 2)
xml_is_document CBC 16 100.0 % (6 / 6) 100.0 % (2 / 2)
xml_is_well_formed CBC 60 100.0 % (3 / 3)
xml_is_well_formed_content CBC 10 100.0 % (3 / 3)
xml_is_well_formed_document CBC 10 100.0 % (3 / 3)
xml_out CBC 15671 100.0 % (3 / 3)
xml_out_internal CBC 15847 84.6 % (11 / 13) 62.5 % (5 / 8)
xml_parse CBC 854 95.7 % (67 / 70) 82.1 % (46 / 56)
xml_pnstrdup CBC 132 100.0 % (5 / 5)
xml_pstrdup_and_free CBC 75897 77.8 % (7 / 9) 50.0 % (3 / 6)
xml_recv UNC 0 0.0 % (0 / 20) 0.0 % (0 / 4)
xml_send UBC 0 0.0 % (0 / 7)
xml_text2xmlChar CBC 959 100.0 % (2 / 2)
xml_xmlnodetoxmltype GNC 144 84.6 % (33 / 39) 58.3 % (21 / 36)
xml_xpathobjtoxmlarray CBC 385 88.6 % (31 / 35) 73.7 % (14 / 19)
xmlcomment CBC 33 100.0 % (14 / 14) 78.6 % (11 / 14)
xmlconcat CBC 15005 93.1 % (27 / 29) 79.2 % (19 / 24)
xmlconcat2 CBC 14989 75.0 % (6 / 8) 66.7 % (4 / 6)
xmldata_root_element_end CBC 158 100.0 % (3 / 3)
xmldata_root_element_start CBC 158 100.0 % (13 / 13) 91.7 % (11 / 12)
xmlelement GNC 15093 77.0 % (47 / 61) 68.6 % (48 / 70)
xmlexists CBC 135 100.0 % (5 / 5)
xmlpi CBC 48 100.0 % (19 / 19) 83.3 % (10 / 12)
xmlroot CBC 40 100.0 % (23 / 23) 85.7 % (6 / 7)
xmltext GNC 25 66.7 % (12 / 18) 40.0 % (4 / 10)
xmltotext UBC 0 0.0 % (0 / 3)
xmltotext_with_options GNC 120 70.5 % (55 / 78) 61.0 % (50 / 82)
xmlvalidate UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
xpath CBC 101 100.0 % (7 / 7)
xpath_exists CBC 161 100.0 % (6 / 6)
xpath_internal CBC 397 87.7 % (71 / 81) 57.1 % (40 / 70)
xsd_schema_element_end CBC 64 100.0 % (3 / 3)
xsd_schema_element_start CBC 64 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta