LCOV - differential code coverage report
Current view: top level - src/common - jsonapi.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: 7a15cff1f11193467898da1c1fabf06fd2caee04 vs 84a3778c79c2d28b4dc281d03ef2ab019b16483b Lines: 90.0 % 963 867 96 8 859
Current Date: 2025-12-15 18:36:29 -0500 Functions: 100.0 % 31 31 31
Baseline: lcov-20251216-010103-baseline Branches: 78.9 % 781 616 165 10 606
Baseline Date: 2025-12-15 13:30:48 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(360..) days: 90.0 % 963 867 96 8 859
Function coverage date bins:
(360..) days: 100.0 % 31 31 31
Branch coverage date bins:
(360..) days: 78.9 % 781 616 165 10 606

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 5735 95.2 % (20 / 21) 65.6 % (21 / 32)
parse_array CBC 18977 96.4 % (27 / 28) 95.5 % (21 / 22)
pg_parse_json CBC 20033 90.5 % (19 / 21) 81.8 % (9 / 11)
makeJsonLexContextCstringLen CBC 20399 94.1 % (16 / 17) 83.3 % (5 / 6)
parse_object CBC 26353 100.0 % (38 / 38) 96.0 % (24 / 25)
parse_array_element CBC 31014 96.0 % (24 / 25) 92.3 % (12 / 13)
parse_object_field CBC 164601 95.3 % (41 / 43) 82.9 % (29 / 35)
parse_scalar CBC 170029 85.7 % (24 / 28) 75.0 % (21 / 28)
json_lex_number CBC 233007 97.9 % (47 / 48) 86.4 % (76 / 88)
lex_expect CBC 238975 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 1407141 92.6 % (100 / 108) 78.0 % (99 / 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 7333271 98.2 % (163 / 166) 88.0 % (132 / 150)
lex_peek CBC 7362820 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