LCOV - differential code coverage report
Current view: top level - src/common - jsonapi.c (source / functions) Coverage Total Hit UBC CBC
Current: a2387c32f2f8a1643c7d71b951587e6bcb2d4744 vs 371a302eecdc82274b0ae2967d18fd726a0aa6a1 Lines: 89.2 % 963 859 104 859
Current Date: 2025-10-26 12:31:50 -0700 Functions: 100.0 % 31 31 31
Baseline: lcov-20251027-010456-baseline Branches: 77.6 % 781 606 175 606
Baseline Date: 2025-10-26 11:01:32 +1300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 88.6 % 35 31 4 31
(360..) days: 89.2 % 928 828 100 828
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 30 30 30
Branch coverage date bins:
(30,360] days: 60.0 % 40 24 16 24
(360..) days: 78.5 % 741 582 159 582

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
json_count_array_elements CBC 3 80.0 % (20 / 25) 57.1 % (8 / 14)
IsValidJsonNumber CBC 23 91.7 % (11 / 12) 87.5 % (7 / 8)
next_prediction CBC 76 100.0 % (3 / 3) 50.0 % (1 / 2)
report_parse_error CBC 602 87.0 % (20 / 23) 78.6 % (11 / 14)
get_fnull CBC 744 100.0 % (2 / 2)
json_errdetail CBC 1179 74.3 % (55 / 74) 60.0 % (24 / 40)
allocate_incremental_state CBC 2086 75.0 % (21 / 28) 50.0 % (6 / 12)
makeJsonLexContextIncremental CBC 2086 73.7 % (14 / 19) 50.0 % (6 / 12)
setJsonLexContextOwnsTokens CBC 2166 83.3 % (5 / 6) 83.3 % (5 / 6)
freeJsonLexContext CBC 5429 95.2 % (20 / 21) 65.6 % (21 / 32)
parse_array CBC 18083 92.9 % (26 / 28) 86.4 % (19 / 22)
pg_parse_json CBC 19520 90.5 % (19 / 21) 81.8 % (9 / 11)
makeJsonLexContextCstringLen CBC 19886 94.1 % (16 / 17) 83.3 % (5 / 6)
parse_object CBC 25765 94.7 % (36 / 38) 88.0 % (22 / 25)
parse_array_element CBC 29652 92.0 % (23 / 25) 84.6 % (11 / 13)
parse_object_field CBC 163647 93.0 % (40 / 43) 80.0 % (28 / 35)
parse_scalar CBC 168787 85.7 % (24 / 28) 75.0 % (21 / 28)
json_lex_number CBC 231821 97.9 % (47 / 48) 85.2 % (75 / 88)
lex_expect CBC 236558 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_parse_json_incremental CBC 372958 84.4 % (151 / 179) 75.0 % (87 / 116)
get_fname CBC 612818 100.0 % (2 / 2)
dec_lex_level CBC 955332 100.0 % (4 / 4)
json_lex_string CBC 1406058 90.7 % (98 / 108) 77.2 % (98 / 127)
set_fname CBC 1607906 100.0 % (5 / 5) 50.0 % (2 / 4)
inc_lex_level CBC 2594233 85.0 % (17 / 20) 58.3 % (7 / 12)
set_fnull CBC 3240086 100.0 % (3 / 3)
json_lex CBC 7326593 97.6 % (162 / 166) 86.7 % (130 / 150)
lex_peek CBC 7350768 100.0 % (2 / 2)
push_prediction CBC 7439399 100.0 % (4 / 4)
pop_prediction CBC 23927820 100.0 % (3 / 3) 50.0 % (1 / 2)
have_prediction CBC 24230130 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta