LCOV - code coverage report
Current view: | top level - Python - Python-ast.c (source / functions) |  |  | Hit | Total | Coverage
Test: | CPython 3.12 LCOV report [commit 5e6661bce9] |  | Lines: | 1921 | 8016 | 24.0 %
Date: | 2023-03-20 08:15:36 |  | Functions: | 94 | 149 | 63.1 %
|  |  | Branches: | 1167 | 6389 | 18.3 %

Function Name | Hit count
PyAST_Check | 267
PyAST_mod2obj | 32
PyAST_obj2mod | 0
PyInit__ast | 4
_PyAST_AnnAssign | 17
_PyAST_Assert | 239
_PyAST_Assign | 16574
_PyAST_AsyncFor | 0
_PyAST_AsyncFunctionDef | 166
_PyAST_AsyncWith | 5
_PyAST_Attribute | 45018
_PyAST_AugAssign | 715
_PyAST_Await | 128
_PyAST_BinOp | 3956
_PyAST_BoolOp | 1755
_PyAST_Break | 271
_PyAST_Call | 49306
_PyAST_ClassDef | 750
_PyAST_Compare | 6203
_PyAST_Constant | 869603
_PyAST_Continue | 231
_PyAST_Delete | 192
_PyAST_Dict | 1063
_PyAST_DictComp | 64
_PyAST_ExceptHandler | 1431
_PyAST_Expr | 10981
_PyAST_Expression | 80
_PyAST_Fini | 25
_PyAST_For | 1222
_PyAST_FormattedValue | 1885
_PyAST_FunctionDef | 6808
_PyAST_FunctionType | 0
_PyAST_GeneratorExp | 290
_PyAST_Global | 70
_PyAST_If | 8830
_PyAST_IfExp | 233
_PyAST_Import | 896
_PyAST_ImportFrom | 524
_PyAST_Interactive | 56
_PyAST_JoinedStr | 1186
_PyAST_Lambda | 135
_PyAST_List | 3260
_PyAST_ListComp | 566
_PyAST_Match | 4
_PyAST_MatchAs | 4
_PyAST_MatchClass | 4
_PyAST_MatchMapping | 0
_PyAST_MatchOr | 0
_PyAST_MatchSequence | 5
_PyAST_MatchSingleton | 1
_PyAST_MatchStar | 1
_PyAST_MatchValue | 4
_PyAST_Module | 215
_PyAST_Name | 576542
_PyAST_NamedExpr | 58
_PyAST_Nonlocal | 17
_PyAST_Pass | 496
_PyAST_Raise | 1931
_PyAST_Return | 5841
_PyAST_Set | 159
_PyAST_SetComp | 34
_PyAST_Slice | 1430
_PyAST_Starred | 358
_PyAST_Subscript | 5307
_PyAST_Try | 1455
_PyAST_TryStar | 0
_PyAST_Tuple | 7424
_PyAST_TypeIgnore | 0
_PyAST_UnaryOp | 2671
_PyAST_While | 302
_PyAST_With | 378
_PyAST_Yield | 254
_PyAST_YieldFrom | 44
_PyAST_alias | 1740
_PyAST_arg | 96190
_PyAST_arguments | 6536
_PyAST_comprehension | 998
_PyAST_keyword | 4155
_PyAST_match_case | 12
_PyAST_withitem | 388
_Py_asdl_alias_seq_new | 0
_Py_asdl_arg_seq_new | 19561
_Py_asdl_arguments_seq_new | 0
_Py_asdl_comprehension_seq_new | 0
_Py_asdl_excepthandler_seq_new | 0
_Py_asdl_expr_seq_new | 23739
_Py_asdl_keyword_seq_new | 1381
_Py_asdl_match_case_seq_new | 0
_Py_asdl_mod_seq_new | 0
_Py_asdl_pattern_seq_new | 0
_Py_asdl_stmt_seq_new | 0
_Py_asdl_type_ignore_seq_new | 0
_Py_asdl_withitem_seq_new | 0
add_ast_fields | 24
add_attributes | 432
ast2obj_alias | 0
ast2obj_arg | 0
ast2obj_arguments | 0
ast2obj_boolop | 0
ast2obj_cmpop | 0
ast2obj_comprehension | 0
ast2obj_excepthandler | 0
ast2obj_expr | 406270
ast2obj_expr_context | 39
ast2obj_int | 1625116
ast2obj_keyword | 0
ast2obj_list | 57
ast2obj_match_case | 0
ast2obj_mod | 32
ast2obj_object | 812458
ast2obj_operator | 1
ast2obj_pattern | 0
ast2obj_stmt | 9
ast2obj_type_ignore | 0
ast2obj_unaryop | 1
ast2obj_withitem | 0
ast_clear | 0
ast_dealloc | 407079
ast_traverse | 818250
ast_type_init | 0
ast_type_reduce | 0
astmodule_exec | 4
get_ast_state | 303
init_identifiers | 24
init_types | 303
make_type | 2832
obj2ast_alias | 0
obj2ast_arg | 0
obj2ast_arguments | 0
obj2ast_boolop | 0
obj2ast_cmpop | 0
obj2ast_comprehension | 0
obj2ast_constant | 0
obj2ast_excepthandler | 0
obj2ast_expr | 0
obj2ast_expr_context | 0
obj2ast_identifier | 0
obj2ast_int | 0
obj2ast_keyword | 0
obj2ast_match_case | 0
obj2ast_mod | 0
obj2ast_object | 0
obj2ast_operator | 0
obj2ast_pattern | 0
obj2ast_stmt | 0
obj2ast_string | 0
obj2ast_type_ignore | 0
obj2ast_unaryop | 0
obj2ast_withitem | 0

Generated by: LCOV version 1.14