LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - xml.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 82.4 % 1717 1414 303 10 1404 4
Current Date: 2024-04-14 14:21:10 Functions: 86.7 % 105 91 14 2 89
Baseline: 16@8cea358b128 Branches: 59.2 % 1410 835 1 574 1 834
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: 100.0 % 2 2 2
(60,120] days: 100.0 % 6 6 6
(120,180] days: 100.0 % 8 8 8
(180,240] days: 50.0 % 2 1 1 1
(240..) days: 82.2 % 1699 1397 302 1397
Function coverage date bins:
(60,120] days: 100.0 % 1 1 1
(120,180] days: 100.0 % 1 1 1
(240..) days: 86.4 % 103 89 14 89
Branch coverage date bins:
(60,120] days: 75.0 % 4 3 1 3
(120,180] days: 50.0 % 2 1 1 1
(180,240] days: 25.0 % 4 1 3 1
(240..) days: 59.3 % 1400 830 570 830

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
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)
map_sql_catalog_to_xmlschema_types UBC 0 0.0 % (0 / 17) 0.0 % (0 / 6)
pg_xml_error_occurred UBC 0 0.0 % (0 / 2)
xmlChar_to_encoding UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
xml_recv UBC 0 0.0 % (0 / 20) 0.0 % (0 / 4)
xml_send UBC 0 0.0 % (0 / 7)
xmltotext UBC 0 0.0 % (0 / 3)
xmlvalidate UBC 0 0.0 % (0 / 2) 0.0 % (0 / 2)
errdetail_for_xml_code CBC 3 25.0 % (6 / 24) 14.3 % (1 / 7)
query_to_xml_and_xmlschema CBC 3 85.7 % (12 / 14) 25.0 % (2 / 8)
query_to_xmlschema CBC 3 85.7 % (12 / 14) 25.0 % (2 / 8)
schema_to_xml_and_xmlschema CBC 3 100.0 % (9 / 9)
query_to_xml CBC 5 100.0 % (6 / 6)
texttoxml CBC 5 100.0 % (3 / 3)
cursor_to_xml CBC 6 95.2 % (20 / 21) 70.0 % (7 / 10)
cursor_to_xmlschema CBC 6 85.7 % (12 / 14) 25.0 % (2 / 8)
schema_to_xml CBC 6 100.0 % (8 / 8)
schema_to_xmlschema CBC 6 100.0 % (6 / 6)
xml_is_well_formed_content CBC 6 100.0 % (3 / 3)
xml_is_well_formed_document CBC 6 100.0 % (3 / 3)
xml_ereport CBC 7 77.8 % (7 / 9) 60.0 % (6 / 10)
XmlTableSetNamespace CBC 9 88.9 % (8 / 9) 66.7 % (4 / 6)
map_sql_schema_to_xmlschema_types CBC 9 100.0 % (24 / 24) 92.9 % (13 / 14)
schema_to_xml_internal CBC 9 100.0 % (17 / 17) 87.5 % (7 / 8)
schema_to_xmlschema_internal CBC 9 100.0 % (16 / 16) 83.3 % (5 / 6)
xmlPgEntityLoader CBC 9 100.0 % (2 / 2)
_SPI_strdup CBC 12 100.0 % (5 / 5)
table_to_xml_and_xmlschema CBC 12 100.0 % (9 / 9)
xml_is_document CBC 12 100.0 % (6 / 6) 100.0 % (2 / 2)
table_to_xmlschema CBC 15 100.0 % (9 / 9)
xmltext GNC 15 100.0 % (8 / 8) 50.0 % (1 / 2)
query_to_oid_list CBC 18 90.9 % (10 / 11) 50.0 % (4 / 8)
schema_get_xml_visible_tables CBC 18 100.0 % (4 / 4)
table_to_xml CBC 18 100.0 % (6 / 6)
xmlcomment CBC 21 100.0 % (14 / 14) 53.8 % (14 / 26)
xmlroot CBC 30 100.0 % (23 / 23) 85.7 % (6 / 7)
xmlpi CBC 36 100.0 % (19 / 19) 83.3 % (10 / 12)
cstring_to_xmltype CBC 39 100.0 % (2 / 2)
map_sql_table_to_xmlschema CBC 39 97.4 % (38 / 39) 81.2 % (13 / 16)
xml_is_well_formed CBC 45 100.0 % (3 / 3)
map_sql_typecoll_to_xmlschema_types CBC 48 100.0 % (18 / 18) 87.5 % (21 / 24)
table_to_xml_internal CBC 48 100.0 % (4 / 4)
xsd_schema_element_end CBC 48 100.0 % (3 / 3)
xsd_schema_element_start CBC 48 100.0 % (6 / 6) 100.0 % (2 / 2)
query_to_xml_internal CBC 56 94.7 % (18 / 19) 78.6 % (11 / 14)
wellformed_xml CBC 57 100.0 % (6 / 6) 100.0 % (2 / 2)
xpath CBC 63 100.0 % (7 / 7)
map_xml_name_to_sql_identifier CBC 64 100.0 % (16 / 16) 62.5 % (10 / 16)
appendStringInfoText CBC 66 100.0 % (3 / 3) 25.0 % (3 / 12)
xmlparse CBC 71 100.0 % (4 / 4)
xmltotext_with_options CBC 84 67.7 % (44 / 65) 60.3 % (41 / 68)
xml_xmlnodetoxmltype CBC 96 85.7 % (30 / 35) 60.0 % (18 / 30)
xmlexists CBC 99 100.0 % (5 / 5)
xml_pnstrdup CBC 100 100.0 % (5 / 5)
xml_errsave CBC 102 77.8 % (7 / 9) 50.0 % (5 / 10)
xpath_exists CBC 117 100.0 % (6 / 6)
xmldata_root_element_end CBC 119 100.0 % (3 / 3)
xmldata_root_element_start CBC 119 100.0 % (13 / 13) 91.7 % (11 / 12)
XmlTableSetRowFilter CBC 129 77.8 % (7 / 9) 37.5 % (3 / 8)
XmlTableDestroyOpaque CBC 132 100.0 % (21 / 21) 75.0 % (12 / 16)
XmlTableInitOpaque CBC 132 72.7 % (16 / 22) 40.0 % (4 / 10)
XmlTableSetDocument CBC 132 69.2 % (18 / 26) 37.5 % (6 / 16)
SPI_sql_row_to_xmlelement CBC 156 100.0 % (23 / 23) 100.0 % (14 / 14)
map_multipart_sql_identifier_to_xml_name CBC 192 100.0 % (12 / 12) 62.5 % (5 / 8)
xml_errorHandler GNC 199 91.2 % (52 / 57) 59.5 % (22 / 37)
xml_xpathobjtoxmlarray CBC 270 88.6 % (31 / 35) 73.7 % (14 / 19)
map_sql_type_to_xmlschema_type CBC 273 79.4 % (54 / 68) 68.6 % (24 / 35)
xpath_internal CBC 279 87.7 % (71 / 81) 54.9 % (45 / 82)
appendStringInfoLineSeparator CBC 323 100.0 % (5 / 5) 100.0 % (2 / 2)
XmlTableSetColumnFilter CBC 387 80.0 % (8 / 10) 40.0 % (4 / 10)
map_sql_type_to_xml_name CBC 405 82.9 % (63 / 76) 69.4 % (25 / 36)
xml_in CBC 414 100.0 % (8 / 8) 100.0 % (2 / 2)
xml_doctype_in_content CBC 470 88.0 % (22 / 25) 79.2 % (19 / 24)
chopStringInfoNewlines CBC 486 100.0 % (4 / 4) 100.0 % (4 / 4)
xml_parse CBC 620 95.1 % (58 / 61) 68.3 % (41 / 60)
xml_text2xmlChar CBC 689 100.0 % (2 / 2)
pg_xmlCharStrndup CBC 1212 100.0 % (5 / 5)
is_valid_xml_namefirst CBC 1819 100.0 % (3 / 3) 40.0 % (16 / 40)
map_sql_identifier_to_xml_name CBC 1826 81.8 % (18 / 22) 81.2 % (26 / 32)
is_valid_xml_namechar CBC 7321 100.0 % (6 / 6) 50.0 % (32 / 64)
sqlchar_to_unicode CBC 9140 83.3 % (5 / 6) 50.0 % (1 / 2)
xmlconcat2 CBC 10851 75.0 % (6 / 8) 66.7 % (4 / 6)
xmlconcat CBC 10863 89.7 % (26 / 29) 79.2 % (19 / 24)
xmlelement CBC 10929 80.8 % (42 / 52) 74.1 % (40 / 54)
stringinfo_to_xmltype CBC 10988 100.0 % (2 / 2)
xmlBuffer_to_xmltype CBC 11049 100.0 % (2 / 2)
XmlTableFetchRow CBC 11220 92.3 % (12 / 13) 66.7 % (8 / 12)
xml_out CBC 11368 100.0 % (3 / 3)
xml_out_internal CBC 11500 84.6 % (11 / 13) 62.5 % (5 / 8)
print_xml_decl CBC 11533 94.1 % (16 / 17) 70.0 % (14 / 20)
pg_xml_done CBC 12025 91.7 % (11 / 12) 30.0 % (3 / 10)
pg_xml_init CBC 12025 93.8 % (15 / 16) 25.0 % (1 / 4)
parse_xml_decl CBC 34053 86.5 % (77 / 89) 48.6 % (101 / 208)
pg_xml_init_library CBC 46078 100.0 % (5 / 5) 100.0 % (2 / 2)
escape_xml CBC 54710 70.0 % (14 / 20) 66.7 % (6 / 9)
xml_pstrdup_and_free CBC 54830 77.8 % (7 / 9) 50.0 % (3 / 6)
map_sql_value_to_xml_value CBC 65579 83.1 % (69 / 83) 50.0 % (43 / 86)
XmlTableGetValue CBC 66057 94.4 % (51 / 54) 74.1 % (40 / 54)
GetXmlTableBuilderPrivateData CBC 78063 71.4 % (5 / 7) 25.0 % (2 / 8)

Generated by: LCOV version 2.1-beta2-3-g6141622