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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 82.4 % 1768 1456 17 295 2 44 1410 2 4 29
Current Date: 2026-05-05 10:23:31 +0900 Functions: 87.6 % 105 92 1 12 1 12 79 1
Baseline: lcov-20260505-025707-baseline Branches: 60.5 % 1407 851 26 530 20 831 49 21 2 2
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: 75.6 % 86 65 17 4 44 21
(360..) days: 82.7 % 1682 1391 291 2 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:
(30,360] days: 53.1 % 64 34 26 4 20 14
(360..) days: 57.8 % 1413 817 526 817 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 47074 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 397 87.7 % (71 / 81) 57.1 % (40 / 70)
map_sql_value_to_xml_value CBC 90872 83.1 % (69 / 83) 56.5 % (35 / 62)
is_valid_xml_namefirst CBC 2421 100.0 % (3 / 3) 40.0 % (16 / 40)
xmlelement GNC 15113 77.0 % (47 / 61) 68.6 % (48 / 70)
xml_errorHandler GNC 267 93.3 % (56 / 60) 59.5 % (25 / 42)
xml_xmlnodetoxmltype GNC 144 84.6 % (33 / 39) 58.3 % (21 / 36)
XmlTableGetValue CBC 91322 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 854 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 16672 91.7 % (11 / 12) 30.0 % (3 / 10)
GetXmlTableBuilderPrivateData CBC 107871 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 15911 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)
xmltext GNC 25 66.7 % (12 / 18) 40.0 % (4 / 10)
xml_doctype_in_content CBC 648 88.0 % (22 / 25) 79.2 % (19 / 24)
xml_errsave CBC 137 77.8 % (7 / 9) 50.0 % (5 / 10)
xml_xpathobjtoxmlarray CBC 385 88.6 % (31 / 35) 73.7 % (14 / 19)
xmlconcat CBC 15025 93.1 % (27 / 29) 79.2 % (19 / 24)
XmlTableDestroyOpaque CBC 176 100.0 % (21 / 21) 75.0 % (12 / 16)
XmlTableFetchRow CBC 15501 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_ereport CBC 9 77.8 % (7 / 9) 60.0 % (6 / 10)
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 75986 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 16672 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 15867 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 15009 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 63746 100.0 % (5 / 5) 100.0 % (2 / 2)
wellformed_xml CBC 80 100.0 % (6 / 6) 100.0 % (2 / 2)
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)
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 1666 100.0 % (5 / 5)
pg_xml_error_occurred GBC 62 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 15196 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)
xmlBuffer_to_xmltype CBC 15267 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 15691 100.0 % (3 / 3)
xml_pnstrdup CBC 132 100.0 % (5 / 5)
xml_send UBC 0 0.0 % (0 / 7)
xml_text2xmlChar CBC 959 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 101 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.5.0-beta