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 EUB ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 82.3 % 1770 1457 17 296 2 44 1411 2 4 29
Current Date: 2026-06-29 16:15:13 +0200 Functions: 87.6 % 105 92 1 12 1 12 79 1
Baseline: lcov-20260630-baseline Branches: 60.4 % 1409 851 26 532 20 831 49 21
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 3 3 3
(30,360] days: 82.0 % 50 41 6 3 22 19
(360..) days: 82.3 % 1717 1413 11 293 2 22 1389 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:
(7,30] days: 100.0 % 6 6 6
(30,360] days: 61.5 % 26 16 7 3 3 13
(360..) days: 57.3 % 1447 829 19 529 17 812 49 21

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
parse_xml_decl CBC 47073 86.5 % (77 / 89) 48.6 % (101 / 208)
is_valid_xml_namechar CBC 9752 100.0 % (6 / 6) 50.0 % (32 / 64)
xmltotext_with_options GNC 120 70.5 % (55 / 78) 61.0 % (50 / 82)
xpath_internal CBC 402 87.7 % (71 / 81) 57.1 % (40 / 70)
map_sql_value_to_xml_value CBC 90869 83.1 % (69 / 83) 56.5 % (35 / 62)
is_valid_xml_namefirst CBC 2421 100.0 % (3 / 3) 40.0 % (16 / 40)
xmlelement GNC 15110 77.0 % (47 / 61) 68.6 % (48 / 70)
xml_errorHandler GNC 275 93.3 % (56 / 60) 59.5 % (25 / 42)
xml_xmlnodetoxmltype GNC 149 85.4 % (35 / 41) 60.5 % (23 / 38)
XmlTableGetValue CBC 91304 94.4 % (51 / 54) 74.1 % (40 / 54)
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)
XmlTableSetDocument CBC 176 69.2 % (18 / 26) 37.5 % (6 / 16)
xml_parse CBC 857 95.7 % (67 / 70) 82.1 % (46 / 56)
database_to_xml_internal UBC 0 0.0 % (0 / 17) 0.0 % (0 / 8)
XmlTableSetColumnFilter GNC 516 81.8 % (9 / 11) 41.7 % (5 / 12)
pg_xml_done CBC 16674 91.7 % (11 / 12) 30.0 % (3 / 10)
GetXmlTableBuilderPrivateData CBC 107850 71.4 % (5 / 7) 25.0 % (2 / 8)
XmlTableInitOpaque GNC 176 72.7 % (16 / 22) 40.0 % (4 / 10)
XmlTableSetRowFilter CBC 172 80.0 % (8 / 10) 40.0 % (4 / 10)
cursor_to_xmlschema CBC 8 85.7 % (12 / 14) 25.0 % (2 / 8)
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)
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_xml_name_to_sql_identifier CBC 72 100.0 % (16 / 16) 62.5 % (10 / 16)
print_xml_decl CBC 15910 94.1 % (16 / 17) 70.0 % (14 / 20)
query_to_xml_and_xmlschema CBC 4 85.7 % (12 / 14) 25.0 % (2 / 8)
query_to_xmlschema CBC 4 85.7 % (12 / 14) 25.0 % (2 / 8)
xml_ereport CBC 8 66.7 % (6 / 9) 40.0 % (4 / 10)
xmlparse GNC 92 85.7 % (6 / 7) 25.0 % (2 / 8)
xmltext GNC 25 66.7 % (12 / 18) 40.0 % (4 / 10)
xml_doctype_in_content CBC 649 88.0 % (22 / 25) 79.2 % (19 / 24)
xml_errsave CBC 137 77.8 % (7 / 9) 50.0 % (5 / 10)
xml_xpathobjtoxmlarray CBC 390 88.6 % (31 / 35) 73.7 % (14 / 19)
xmlconcat CBC 15022 93.1 % (27 / 29) 79.2 % (19 / 24)
XmlTableDestroyOpaque CBC 176 100.0 % (21 / 21) 75.0 % (12 / 16)
XmlTableFetchRow CBC 15498 92.3 % (12 / 13) 66.7 % (8 / 12)
query_to_oid_list CBC 24 90.9 % (10 / 11) 50.0 % (4 / 8)
xmlChar_to_encoding UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
xml_recv UNC 0 0.0 % (0 / 20) 0.0 % (0 / 4)
cursor_to_xml CBC 8 95.2 % (20 / 21) 70.0 % (7 / 10)
escape_xml CBC 75991 70.0 % (14 / 20) 66.7 % (6 / 9)
map_multipart_sql_identifier_to_xml_name CBC 256 100.0 % (12 / 12) 62.5 % (5 / 8)
map_sql_table_to_xmlschema GNC 52 97.4 % (37 / 38) 81.2 % (13 / 16)
map_sql_typecoll_to_xmlschema_types CBC 64 100.0 % (18 / 18) 87.5 % (21 / 24)
pg_xml_init GNC 16674 93.8 % (15 / 16) 25.0 % (1 / 4)
query_to_xml_internal CBC 74 94.7 % (18 / 19) 78.6 % (11 / 14)
xml_out_internal CBC 15866 84.6 % (11 / 13) 62.5 % (5 / 8)
xml_pstrdup_and_free CBC 75996 77.8 % (7 / 9) 50.0 % (3 / 6)
xmlcomment CBC 33 100.0 % (14 / 14) 78.6 % (11 / 14)
XmlTableSetNamespace CBC 12 88.9 % (8 / 9) 66.7 % (4 / 6)
xmlconcat2 CBC 15006 75.0 % (6 / 8) 66.7 % (4 / 6)
xmlpi CBC 48 100.0 % (19 / 19) 83.3 % (10 / 12)
xmlvalidate UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
map_sql_schema_to_xmlschema_types CBC 12 100.0 % (24 / 24) 92.9 % (13 / 14)
schema_to_xml_internal CBC 12 100.0 % (17 / 17) 87.5 % (7 / 8)
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)
xmldata_root_element_start CBC 158 100.0 % (13 / 13) 91.7 % (11 / 12)
xmlroot CBC 40 100.0 % (23 / 23) 85.7 % (6 / 7)
SPI_sql_row_to_xmlelement CBC 206 100.0 % (23 / 23) 100.0 % (14 / 14)
appendStringInfoLineSeparator CBC 393 100.0 % (5 / 5) 100.0 % (2 / 2)
chopStringInfoNewlines CBC 592 100.0 % (4 / 4) 100.0 % (4 / 4)
pg_xml_init_library CBC 63747 100.0 % (5 / 5) 100.0 % (2 / 2)
wellformed_xml CBC 80 100.0 % (6 / 6) 100.0 % (2 / 2)
xml_in GNC 573 100.0 % (7 / 7) 100.0 % (2 / 2)
xml_is_document CBC 16 100.0 % (6 / 6) 100.0 % (2 / 2)
xsd_schema_element_start CBC 64 100.0 % (6 / 6) 100.0 % (2 / 2)
_SPI_strdup CBC 16 100.0 % (5 / 5)
appendStringInfoText CBC 93 100.0 % (3 / 3)
cstring_to_xmltype CBC 57 100.0 % (2 / 2)
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_xmlschema UBC 0 0.0 % (0 / 5)
pg_xmlCharStrndup CBC 1676 100.0 % (5 / 5)
pg_xml_error_occurred GBC 47 100.0 % (2 / 2)
query_to_xml CBC 6 100.0 % (6 / 6)
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_xmlschema CBC 8 100.0 % (6 / 6)
stringinfo_to_xmltype CBC 15193 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 4 100.0 % (3 / 3)
xmlBuffer_to_xmltype CBC 15264 100.0 % (2 / 2)
xmlPgEntityLoader CBC 12 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 15690 100.0 % (3 / 3)
xml_pnstrdup CBC 128 100.0 % (5 / 5)
xml_send UBC 0 0.0 % (0 / 7)
xml_text2xmlChar CBC 962 100.0 % (2 / 2)
xmldata_root_element_end CBC 158 100.0 % (3 / 3)
xmlexists CBC 135 100.0 % (5 / 5)
xmltotext UBC 0 0.0 % (0 / 3)
xpath CBC 106 100.0 % (7 / 7)
xpath_exists CBC 161 100.0 % (6 / 6)
xsd_schema_element_end CBC 64 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1