LCOV - code coverage report
Current view: top level - src/common - jsonapi.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 87.1 % 997 868
Test Date: 2026-11-24 05:15:58 Functions: 100.0 % 31 31
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 76.9 % 800 615

Function Name Sort by function name Hit count Sort by function hit count
json_count_array_elements 4
IsValidJsonNumber 23
next_prediction 76
report_parse_error 653
get_fnull 744
json_errdetail 1257
setJsonLexContextOwnsTokens 1960
allocate_incremental_state 2098
makeJsonLexContextIncremental 2098
freeJsonLexContext 6854
parse_array 26208
pg_parse_json 28193
makeJsonLexContextCstringLen 28683
parse_object 36363
parse_array_element 42001
parse_object_field 224131
parse_scalar 231366
json_lex_number 280822
lex_expect 327960
pg_parse_json_incremental 372982
get_fname 674139
dec_lex_level 970176
json_lex_string 1607329
set_fname 1691871
inc_lex_level 2609077
set_fnull 3323014
push_prediction 7620124
json_lex 7921554
lex_peek 8066564
pop_prediction 24813765
have_prediction 25116112

Generated by: LCOV version 2.0-1