LCOV - code coverage report
Current view:
top level
-
Parser
- pegen.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython lcov report
Lines:
425
514
82.7 %
Date:
2022-07-07 18:19:46
Functions:
38
41
92.7 %
Function Name
Hit count
_PyPegen_Parser_Free
223947
_PyPegen_Parser_New
223947
_PyPegen_byte_offset_to_character_offset
3963
_PyPegen_clear_memo_statistics
0
_PyPegen_expect_forced_result
0
_PyPegen_expect_forced_token
853883
_PyPegen_expect_soft_keyword
3022660
_PyPegen_expect_token
759672000
_PyPegen_fill_token
39577500
_PyPegen_get_last_nonnwhitespace_token
20074800
_PyPegen_get_memo_statistics
0
_PyPegen_insert_memo
195276000
_PyPegen_interactive_exit
14
_PyPegen_is_memoized
749151000
_PyPegen_lookahead
36644100
_PyPegen_lookahead_with_int
53979700
_PyPegen_lookahead_with_name
1
_PyPegen_lookahead_with_string
3682
_PyPegen_name_from_token
69126700
_PyPegen_name_token
69126700
_PyPegen_new_identifier
34074200
_PyPegen_number_token
10995100
_PyPegen_run_parser
223947
_PyPegen_run_parser_from_file_pointer
354
_PyPegen_run_parser_from_string
127509
_PyPegen_soft_keyword_token
2643
_PyPegen_string_token
17709100
_PyPegen_update_memo
171061000
_get_keyword_or_name_type
12437000
_is_end_of_source
262
_resize_tokens_array
763916
bad_single_statement
4163
compute_parser_flags
127837
growable_comment_array_add
74
growable_comment_array_deallocate
223947
growable_comment_array_init
223947
init_normalization
589
initialize_token
39577500
parsenumber
5874740
parsenumber_raw
5874740
reset_parser_state_for_error_pass
2000
Generated by:
LCOV version 1.14