LCOV - code coverage report
Current view: | top level - Parser - pegen.c (source / functions) |  |  | Hit | Total | Coverage
Test: | CPython 3.12 LCOV report [commit 5e6661bce9] |  | Lines: | 290 | 485 | 59.8 %
Date: | 2023-03-20 08:15:36 |  | Functions: | 30 | 39 | 76.9 %
|  |  | Branches: | 149 | 288 | 51.7 %

Function Name | Hit count
_PyPegen_Parser_Free | 1585
_PyPegen_Parser_New | 1585
_PyPegen_byte_offset_to_character_offset | 0
_PyPegen_expect_forced_result | 0
_PyPegen_expect_forced_token | 17608
_PyPegen_expect_soft_keyword | 61940
_PyPegen_expect_token | 29837980
_PyPegen_fill_token | 1370610
_PyPegen_get_last_nonnwhitespace_token | 306539
_PyPegen_insert_memo | 7835749
_PyPegen_interactive_exit | 0
_PyPegen_is_memoized | 32609153
_PyPegen_lookahead | 1386959
_PyPegen_lookahead_with_int | 941615
_PyPegen_lookahead_with_name | 0
_PyPegen_lookahead_with_string | 14
_PyPegen_name_from_token | 1799794
_PyPegen_name_token | 1799794
_PyPegen_new_identifier | 534374
_PyPegen_number_token | 922774
_PyPegen_run_parser | 1585
_PyPegen_run_parser_from_file_pointer | 22
_PyPegen_run_parser_from_string | 329
_PyPegen_soft_keyword_token | 0
_PyPegen_string_token | 1013729
_PyPegen_update_memo | 7862743
_get_keyword_or_name_type | 208777
_is_end_of_source | 0
_resize_tokens_array | 5970
bad_single_statement | 56
compute_parser_flags | 351
growable_comment_array_add | 0
growable_comment_array_deallocate | 1585
growable_comment_array_init | 1585
init_normalization | 0
initialize_token | 1370610
parsenumber | 832141
parsenumber_raw | 832141
reset_parser_state_for_error_pass | 0

Generated by: LCOV version 1.14