LCOV - differential code coverage report
Current view: top level - src/common - jsonapi.c (source / functions) Coverage Total Hit UBC CBC
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 89.2 % 963 859 104 859
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 31 31 31
Baseline: lcov-20250906-005545-baseline Branches: 77.6 % 781 606 175 606
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 77.0 % 187 144 43 144
(360..) days: 92.1 % 776 715 61 715
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 29 29 29
Branch coverage date bins:
(30,360] days: 57.6 % 170 98 72 98
(360..) days: 83.1 % 611 508 103 508

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 18030 92.9 % (26 / 28) 86.4 % (19 / 22)
pg_parse_json CBC 19499 90.5 % (19 / 21) 81.8 % (9 / 11)
makeJsonLexContextCstringLen CBC 19865 94.1 % (16 / 17) 83.3 % (5 / 6)
parse_object CBC 25674 94.7 % (36 / 38) 88.0 % (22 / 25)
parse_array_element CBC 29534 92.0 % (23 / 25) 84.6 % (11 / 13)
parse_object_field CBC 163529 93.0 % (40 / 43) 80.0 % (28 / 35)
parse_scalar CBC 168674 85.7 % (24 / 28) 75.0 % (21 / 28)
json_lex_number CBC 231775 97.9 % (47 / 48) 85.2 % (75 / 88)
lex_expect CBC 236216 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 1405895 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 7325846 97.6 % (162 / 166) 86.7 % (130 / 150)
lex_peek CBC 7349348 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