LCOV - code coverage report
Current view: top level - Parser - pegen.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 409 472 86.7 %
Date: 2022-07-20 13:12:14 Functions: 38 39 97.4 %
Branches: 236 296 79.7 %

Function Name Sort by function name Hit count Sort by hit count
_PyPegen_expect_forced_result 0
_PyPegen_lookahead_with_name 1
_PyPegen_interactive_exit 14
growable_comment_array_add 74
_is_end_of_source 262
_PyPegen_run_parser_from_file_pointer 358
init_normalization 589
reset_parser_state_for_error_pass 2002
_PyPegen_soft_keyword_token 2643
_PyPegen_lookahead_with_string 3700
_PyPegen_byte_offset_to_character_offset 3877
bad_single_statement 4160
_PyPegen_run_parser_from_string 125824
compute_parser_flags 126156
_PyPegen_Parser_Free 222224
_PyPegen_Parser_New 222224
_PyPegen_run_parser 222224
growable_comment_array_deallocate 222224
growable_comment_array_init 222224
_resize_tokens_array 759469
_PyPegen_expect_forced_token 847612
_PyPegen_expect_soft_keyword 3003077
parsenumber 5873696
parsenumber_raw 5873696
_PyPegen_number_token 10965494
_get_keyword_or_name_type 12380231
_PyPegen_string_token 17650755
_PyPegen_get_last_nonnwhitespace_token 19977442
_PyPegen_new_identifier 33919542
_PyPegen_lookahead 36472518
_PyPegen_fill_token 39430438
initialize_token 39430438
_PyPegen_lookahead_with_int 53692642
_PyPegen_name_token 68829913
_PyPegen_name_from_token 68829944
_PyPegen_update_memo 170488319
_PyPegen_insert_memo 194514777
_PyPegen_is_memoized 746483324
_PyPegen_expect_token 756782594

Generated by: LCOV version 1.14