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-09-19 12:15:47 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
IsValidJsonNumber 23
allocate_incremental_state 2086
dec_lex_level 958049
freeJsonLexContext 6818
get_fname 613648
get_fnull 744
have_prediction 24341760
inc_lex_level 2596950
json_count_array_elements 4
json_errdetail 1257
json_lex 7651091
json_lex_number 268379
json_lex_string 1497803
lex_expect 325991
lex_peek 7793931
makeJsonLexContextCstringLen 28067
makeJsonLexContextIncremental 2086
next_prediction 76
parse_array 25891
parse_array_element 41660
parse_object 36029
parse_object_field 223738
parse_scalar 230667
pg_parse_json 27577
pg_parse_json_incremental 372958
pop_prediction 24039449
push_prediction 7462809
report_parse_error 653
setJsonLexContextOwnsTokens 1960
set_fname 1619253
set_fnull 3250432

Generated by: LCOV version 2.0-1