LCOV - code coverage report
Current view:
top level
-
src/backend/utils/adt
- xml.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 19devel
Lines:
82.2 %
1753
1441
Test Date:
2026-03-12 10:14:47
Functions:
87.6 %
105
92
Legend:
Lines:    
hit
not hit
Function Name
Hit count
GetXmlTableBuilderPrivateData
80660
SPI_sql_row_to_xmlelement
156
XmlTableDestroyOpaque
132
XmlTableFetchRow
11591
XmlTableGetValue
68283
XmlTableInitOpaque
132
XmlTableSetColumnFilter
387
XmlTableSetDocument
132
XmlTableSetNamespace
9
XmlTableSetRowFilter
129
_SPI_strdup
12
appendStringInfoLineSeparator
293
appendStringInfoText
66
chopStringInfoNewlines
441
cstring_to_xmltype
39
cursor_to_xml
6
cursor_to_xmlschema
6
database_get_xml_visible_schemas
0
database_get_xml_visible_tables
0
database_to_xml
0
database_to_xml_and_xmlschema
0
database_to_xml_internal
0
database_to_xmlschema
0
database_to_xmlschema_internal
0
errdetail_for_xml_code
3
escape_xml
56815
is_valid_xml_namechar
7321
is_valid_xml_namefirst
1819
map_multipart_sql_identifier_to_xml_name
192
map_sql_catalog_to_xmlschema_types
0
map_sql_identifier_to_xml_name
1826
map_sql_schema_to_xmlschema_types
9
map_sql_table_to_xmlschema
39
map_sql_type_to_xml_name
405
map_sql_type_to_xmlschema_type
273
map_sql_typecoll_to_xmlschema_types
48
map_sql_value_to_xml_value
67941
map_xml_name_to_sql_identifier
64
parse_xml_decl
35204
pg_xmlCharStrndup
1212
pg_xml_done
12445
pg_xml_error_occurred
39
pg_xml_init
12445
pg_xml_init_library
47649
print_xml_decl
11921
query_to_oid_list
18
query_to_xml
5
query_to_xml_and_xmlschema
3
query_to_xml_internal
56
query_to_xmlschema
3
schema_get_xml_visible_tables
18
schema_to_xml
6
schema_to_xml_and_xmlschema
3
schema_to_xml_internal
9
schema_to_xmlschema
6
schema_to_xmlschema_internal
9
sqlchar_to_unicode
9140
stringinfo_to_xmltype
11359
table_to_xml
18
table_to_xml_and_xmlschema
12
table_to_xml_internal
48
table_to_xmlschema
15
texttoxml
3
wellformed_xml
57
xmlBuffer_to_xmltype
11408
xmlChar_to_encoding
0
xmlPgEntityLoader
9
xml_doctype_in_content
485
xml_ereport
6
xml_errorHandler
199
xml_errsave
102
xml_in
428
xml_is_document
12
xml_is_well_formed
45
xml_is_well_formed_content
6
xml_is_well_formed_document
6
xml_out
11756
xml_out_internal
11888
xml_parse
638
xml_pnstrdup
96
xml_pstrdup_and_free
56821
xml_recv
0
xml_send
0
xml_text2xmlChar
713
xml_xmlnodetoxmltype
96
xml_xpathobjtoxmlarray
270
xmlcomment
21
xmlconcat
11234
xmlconcat2
11222
xmldata_root_element_end
119
xmldata_root_element_start
119
xmlelement
11300
xmlexists
99
xmlparse
69
xmlpi
36
xmlroot
30
xmltext
15
xmltotext
0
xmltotext_with_options
90
xmlvalidate
0
xpath
63
xpath_exists
117
xpath_internal
279
xsd_schema_element_end
48
xsd_schema_element_start
48
Generated by:
LCOV version 2.0-1