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