LCOV - differential code coverage report
Current view: top level - src/common - jsonapi.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 90.0 % 963 867 96 8 3 856 3
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 31 31 1 30
Baseline: lcov-20260315-024220-baseline Branches: 79.0 % 781 617 1 163 10 7 600 1 7
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 3 3 3
(360..) days: 90.0 % 960 864 96 8 856
Function coverage date bins:
(360..) days: 100.0 % 31 31 1 30
Branch coverage date bins:
(7,30] days: 87.5 % 8 7 1 7
(360..) days: 78.9 % 773 610 163 10 600

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
pg_parse_json_incremental CBC 372964 84.4 % (151 / 179) 75.0 % (87 / 116)
json_lex_string GNC 1434662 92.6 % (100 / 108) 78.0 % (99 / 127)
json_lex CBC 7402482 98.2 % (163 / 166) 88.7 % (133 / 150)
json_errdetail CBC 1182 74.3 % (55 / 74) 60.0 % (24 / 40)
json_lex_number CBC 236313 97.9 % (47 / 48) 86.4 % (76 / 88)
freeJsonLexContext CBC 5786 95.2 % (20 / 21) 65.6 % (21 / 32)
parse_scalar CBC 171015 85.7 % (24 / 28) 75.0 % (21 / 28)
allocate_incremental_state CBC 2089 75.0 % (21 / 28) 50.0 % (6 / 12)
json_count_array_elements CBC 3 80.0 % (20 / 25) 57.1 % (8 / 14)
makeJsonLexContextIncremental CBC 2089 73.7 % (14 / 19) 50.0 % (6 / 12)
parse_object_field CBC 165399 95.3 % (41 / 43) 82.9 % (29 / 35)
inc_lex_level CBC 2597158 85.0 % (17 / 20) 58.3 % (7 / 12)
report_parse_error CBC 602 87.0 % (20 / 23) 78.6 % (11 / 14)
pg_parse_json CBC 20315 90.5 % (19 / 21) 81.8 % (9 / 11)
set_fname CBC 1625420 100.0 % (5 / 5) 50.0 % (2 / 4)
IsValidJsonNumber CBC 23 91.7 % (11 / 12) 87.5 % (7 / 8)
makeJsonLexContextCstringLen CBC 20681 94.1 % (16 / 17) 83.3 % (5 / 6)
next_prediction CBC 76 100.0 % (3 / 3) 50.0 % (1 / 2)
parse_array CBC 19235 96.4 % (27 / 28) 95.5 % (21 / 22)
parse_array_element CBC 31475 96.0 % (24 / 25) 92.3 % (12 / 13)
parse_object CBC 26647 100.0 % (38 / 38) 96.0 % (24 / 25)
pop_prediction CBC 24114567 100.0 % (3 / 3) 50.0 % (1 / 2)
setJsonLexContextOwnsTokens CBC 2174 83.3 % (5 / 6) 83.3 % (5 / 6)
lex_expect CBC 240862 100.0 % (4 / 4) 100.0 % (2 / 2)
dec_lex_level CBC 958257 100.0 % (4 / 4)
get_fname CBC 627407 100.0 % (2 / 2)
get_fnull CBC 744 100.0 % (2 / 2)
have_prediction CBC 24416886 100.0 % (2 / 2)
lex_peek CBC 7435314 100.0 % (2 / 2)
push_prediction CBC 7477340 100.0 % (4 / 4)
set_fnull CBC 3257591 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta