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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 87.9 % 997 876 121 8 3 865 3
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 31 31 1 30
Baseline: lcov-20260505-025707-baseline Branches: 77.0 % 810 624 1 185 10 7 607 1 7
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 32.4 % 34 11 23 11
(30,360] days: 100.0 % 3 3 3
(360..) days: 89.8 % 960 862 98 8 854
Function coverage date bins:
(360..) days: 100.0 % 31 31 1 30
Branch coverage date bins:
(7,30] days: 28.6 % 28 8 20 8
(30,360] days: 87.5 % 8 7 1 7
(360..) days: 78.7 % 774 609 165 10 599

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 4 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 655 87.0 % (20 / 23) 78.6 % (11 / 14)
get_fnull CBC 744 100.0 % (2 / 2)
json_errdetail CBC 1257 74.3 % (55 / 74) 60.0 % (24 / 40)
allocate_incremental_state CBC 2090 75.0 % (21 / 28) 50.0 % (6 / 12)
makeJsonLexContextIncremental CBC 2090 73.7 % (14 / 19) 50.0 % (6 / 12)
setJsonLexContextOwnsTokens CBC 2201 83.3 % (5 / 6) 83.3 % (5 / 6)
freeJsonLexContext CBC 7063 95.2 % (20 / 21) 65.6 % (21 / 32)
parse_array CBC 25472 96.4 % (27 / 28) 95.5 % (21 / 22)
pg_parse_json CBC 27296 90.5 % (19 / 21) 81.8 % (9 / 11)
makeJsonLexContextCstringLen CBC 27783 94.1 % (16 / 17) 83.3 % (5 / 6)
parse_object CBC 34520 100.0 % (38 / 38) 96.0 % (24 / 25)
parse_array_element CBC 40637 96.0 % (24 / 25) 92.3 % (12 / 13)
parse_object_field CBC 217942 95.3 % (41 / 43) 82.9 % (29 / 35)
parse_scalar CBC 225495 85.7 % (24 / 28) 75.0 % (21 / 28)
json_lex_number CBC 280439 97.9 % (47 / 48) 86.4 % (76 / 88)
lex_expect CBC 317493 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_parse_json_incremental CBC 372968 84.4 % (151 / 179) 75.0 % (87 / 116)
get_fname CBC 671900 100.0 % (2 / 2)
dec_lex_level CBC 967158 100.0 % (4 / 4)
json_lex_string GNC 1579636 92.6 % (100 / 108) 78.0 % (99 / 127)
set_fname CBC 1678814 100.0 % (5 / 5) 50.0 % (2 / 4)
inc_lex_level CBC 2606059 85.0 % (17 / 20) 58.3 % (7 / 12)
set_fnull CBC 3310982 100.0 % (3 / 3)
push_prediction CBC 7593025 100.0 % (4 / 4)
json_lex CBC 7846254 86.0 % (172 / 200) 78.2 % (140 / 179)
lex_peek CBC 8016496 100.0 % (2 / 2)
pop_prediction CBC 24684080 100.0 % (3 / 3) 50.0 % (1 / 2)
have_prediction CBC 24986404 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta