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-07-21 14:15:50 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 655
get_fnull 744
json_errdetail 1257
setJsonLexContextOwnsTokens 1960
allocate_incremental_state 2086
makeJsonLexContextIncremental 2086
freeJsonLexContext 6818
parse_array 25474
pg_parse_json 27585
makeJsonLexContextCstringLen 28075
parse_object 34300
parse_array_element 40656
parse_object_field 216600
parse_scalar 224679
json_lex_number 276304
lex_expect 316328
pg_parse_json_incremental 372960
get_fname 651448
dec_lex_level 963058
json_lex_string 1540710
set_fname 1654262
inc_lex_level 2601959
set_fnull 3286442
push_prediction 7539837
json_lex 7752048
lex_peek 7885322
pop_prediction 24422284
have_prediction 24724596

Generated by: LCOV version 2.0-1