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-10-10 02:15:51 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 2090
makeJsonLexContextIncremental 2090
freeJsonLexContext 6822
parse_array 26014
pg_parse_json 27621
makeJsonLexContextCstringLen 28111
parse_object 36143
parse_array_element 41970
parse_object_field 223916
parse_scalar 230962
json_lex_number 272431
lex_expect 326573
pg_parse_json_incremental 372966
get_fname 633110
dec_lex_level 961951
json_lex_string 1533132
set_fname 1642617
inc_lex_level 2600852
set_fnull 3273784
push_prediction 7513423
json_lex 7738197
lex_peek 7882174
pop_prediction 24288573
have_prediction 24590896

Generated by: LCOV version 2.0-1