LCOV - code coverage report
Current view: top level - Python - Python-ast.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 6120 8052 76.0 %
Date: 2022-07-20 13:12:14 Functions: 145 149 97.3 %
Branches: 3614 6355 56.9 %

Function Name Sort by function name Hit count Sort by hit count
_Py_asdl_arguments_seq_new 0
_Py_asdl_mod_seq_new 0
obj2ast_string 0
obj2ast_type_ignore 0
ast_clear 8
_PyAST_FunctionType 12
_Py_asdl_match_case_seq_new 29
obj2ast_match_case 33
obj2ast_pattern 54
_PyAST_MatchSingleton 68
_PyAST_TypeIgnore 74
ast2obj_type_ignore 74
_PyAST_MatchStar 180
_PyAST_AsyncFor 197
_PyAST_TryStar 269
_PyAST_MatchClass 302
_PyAST_AsyncWith 380
_Py_asdl_withitem_seq_new 393
obj2ast_withitem 417
_Py_asdl_pattern_seq_new 418
_PyAST_MatchMapping 433
_Py_asdl_type_ignore_seq_new 597
_Py_asdl_comprehension_seq_new 612
obj2ast_comprehension 635
obj2ast_mod 686
PyAST_obj2mod 688
_PyAST_MatchOr 693
_PyAST_MatchSequence 768
ast2obj_match_case 798
_PyAST_Nonlocal 949
_PyAST_Match 1252
PyInit__ast 1309
astmodule_exec 1309
_Py_asdl_alias_seq_new 1332
obj2ast_excepthandler 1409
add_ast_fields 1459
init_identifiers 1459
_Py_asdl_excepthandler_seq_new 1484
_PyAST_MatchAs 1536
_PyAST_SetComp 1551
_PyAST_MatchValue 1565
obj2ast_alias 1620
_PyAST_match_case 1817
ast_type_reduce 1851
_PyAST_Global 1882
obj2ast_boolop 2070
_PyAST_YieldFrom 2293
_PyAST_Await 2386
ast2obj_pattern 2560
obj2ast_unaryop 3083
_PyAST_Fini 3125
ast_type_init 3261
obj2ast_keyword 3305
_PyAST_NamedExpr 3532
_PyAST_DictComp 3817
_PyAST_AsyncFunctionDef 3820
_PyAST_Interactive 4162
ast2obj_comprehension 4943
obj2ast_operator 7542
obj2ast_arguments 7602
obj2ast_cmpop 8334
_PyAST_Set 8505
_PyAST_Continue 8937
_PyAST_Delete 8987
ast2obj_excepthandler 9179
ast2obj_boolop 9448
_PyAST_Assert 10032
_PyAST_Break 10105
PyAST_mod2obj 10350
ast2obj_mod 10350
_PyAST_IfExp 11316
_PyAST_AnnAssign 11492
_PyAST_While 12083
_PyAST_Yield 13838
obj2ast_arg 15184
_PyAST_GeneratorExp 15346
_PyAST_Starred 16298
ast2obj_alias 17283
ast2obj_withitem 18953
ast2obj_unaryop 23517
add_attributes 26262
_PyAST_AugAssign 26448
_PyAST_Pass 27974
_PyAST_ListComp 29454
PyAST_Check 30299
_PyAST_JoinedStr 34579
_PyAST_Lambda 37374
_PyAST_With 38960
_PyAST_withitem 40249
_Py_asdl_stmt_seq_new 41131
ast2obj_cmpop 43342
_PyAST_ExceptHandler 45696
_PyAST_Import 45780
_PyAST_ImportFrom 46123
obj2ast_constant 46697
get_ast_state 47758
init_types 47758
_PyAST_Module 48445
_PyAST_Try 50177
ast2obj_keyword 52206
_PyAST_comprehension 52215
_PyAST_ClassDef 60459
_PyAST_For 62440
_PyAST_Raise 63324
ast2obj_operator 64856
_PyAST_BoolOp 67260
_PyAST_Slice 69821
obj2ast_stmt 70005
_PyAST_Expression 72013
ast2obj_arguments 91523
_PyAST_Dict 99798
_PyAST_UnaryOp 105547
_PyAST_FormattedValue 124528
_PyAST_alias 125663
_Py_asdl_keyword_seq_new 137091
obj2ast_expr_context 166546
make_type 172162
obj2ast_object 183648
obj2ast_identifier 183649
_PyAST_Return 246137
_PyAST_Compare 249964
_PyAST_List 253832
obj2ast_expr 267755
ast2obj_arg 310419
_PyAST_keyword 359673
_PyAST_FunctionDef 374754
_PyAST_arguments 385107
_PyAST_If 532296
_PyAST_BinOp 582296
_PyAST_Tuple 683780
ast2obj_stmt 725705
_PyAST_Assign 824016
_PyAST_Expr 886860
_PyAST_Subscript 924067
_Py_asdl_arg_seq_new 1137668
_Py_asdl_expr_seq_new 1413810
obj2ast_int 1438455
ast2obj_expr_context 2030075
ast2obj_list 2368942
_PyAST_Attribute 3427125
_PyAST_Call 3631708
ast2obj_expr 4029564
ast2obj_object 4778104
ast_dealloc 4876649
_PyAST_arg 5436349
_PyAST_Constant 8253781
ast2obj_int 18816721
ast_traverse 19770324
_PyAST_Name 36912895

Generated by: LCOV version 1.14