LCOV - code coverage report
Current view:
top level
-
Python
- compile.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython 3.12 LCOV report [commit acb105a7c1f]
Lines:
4490
4995
89.9 %
Date:
2022-07-20 13:12:14
Functions:
237
238
99.6 %
Branches:
3371
4573
73.7 %
Function Name
Hit count
PyCode_Optimize
0
check_ann_subscr
2
compiler_error_duplicate_store
6
pattern_helper_sequence_subscr
23
compiler_try_star_finally
25
compiler_pattern_singleton
36
validate_kwd_attrs
47
compiler_async_comprehension_generator
63
compiler_pattern_star
64
compiler_async_for
81
compiler_try_star
108
compiler_try_star_except
108
compiler_pattern_or
110
compiler_warn
138
compiler_pattern_class
186
compiler_async_with
235
compiler_pattern_mapping
271
compiler_error
289
pattern_helper_sequence_unpack
355
pattern_unpack_helper
355
check_ann_expr
385
compiler_setcomp
410
compiler_pattern_sequence
451
PyCompile_OpcodeStackEffectWithJump
646
compiler_match
682
compiler_match_inner
682
compiler_pattern_as
723
compiler_pattern_value
773
pattern_helper_store_name
791
pattern_helper_rotate
974
compiler_dictcomp
1165
emit_and_reset_fail_pop
1199
compiler_pattern_subpattern
1283
compiler_import_as
1314
compiler_subkwargs
1384
compiler_set
1810
check_annotation
1932
compiler_pattern
2614
jump_to_fail_pop
2679
ensure_fail_pop
2784
compiler_visit_annexpr
3493
compiler_add_yield_from
4547
compiler_try_finally
5903
compiler_continue
7497
unaryop
7513
compiler_genexp
7704
compiler_break
8435
compiler_listcomp
8458
compiler_assert
8478
compiler_ifexp
9745
compiler_annassign
9866
compiler_while
9870
PyCompile_OpcodeStackEffect
11173
copy_basicblock
15775
basicblock_new_b_list_successor
15874
compiler_boolop
17309
compiler_comprehension
17737
compiler_sync_comprehension_generator
18199
compiler_comprehension_generator
18262
apply_static_swaps
19081
swaptimize
19081
addop_yield
19134
compiler_with
20991
compiler_with_except_finish
21218
compiler_augassign
21488
compiler_call_exit_with_nones
23626
next_swappable_instruction
26028
compiler_joined_str
30335
compiler_slice
30870
compiler_dict
32228
write_location_info_no_column
32948
compiler_try_except
34263
compiler_lambda
34467
compiler_visit_defaults
34874
get_ref_type
34907
compiler_import
36137
compiler_class
37375
compiler_lookup_arg
39673
compiler_try
39697
compiler_from_import
41269
assignment_helper
42018
unpack_helper
42018
compiler_unwind_fblock
44149
compiler_for
46021
compiler_subdict
50970
jump_thread
55357
compiler_pop_except_and_reraise
61491
compiler_list
63142
compiler_call_simple_kw_helper
67803
compiler_body
75406
are_all_items_const
77533
insert_instruction
83508
basicblock_has_lineno
90272
compiler_mod
113497
_PyAST_Compile
113667
compiler_free
113667
compiler_init
113667
compiler_formatted_value
117920
pop_except_block
120022
compiler_visit_keyword
123799
get_const_value
124196
push_except_block
130313
mark_cold
147627
mark_warm
147627
check_index
151589
check_subscripter
151599
infer_type
151697
compiler_tuple
165685
assemble_emit_exception_table_entry
181378
compiler_subscript
183832
is_two_element_slice
186235
starunpack_helper
195464
compiler_pop_fblock
195716
compiler_push_fblock
195792
compiler_compare
209513
compiler_return
210386
check_compare
211764
compiler_addcompare
215963
fold_tuple_on_constants
216372
addop_binary
217879
compiler_visit_annotations
258563
compiler_function
258569
compiler_unwind_fblock_stack
262026
compiler_visit_kwonlydefaults
293028
compiler_default_arguments
293031
compiler_check_debug_args
293036
compiler_apply_decorators
295844
compiler_decorators
295942
write_location_info_none
305212
compiler_make_closure
348004
compiler_set_qualname
348134
check_is_arg
426280
add_checks_for_loads_of_unknown_variables
461212
assemble
461212
assemble_exception_table
461212
assemble_free
461212
assemble_init
461212
assemble_jump_offsets
461212
basicblock_returns
461212
build_cellfixedoffsets
461212
compute_code_flags
461212
compute_localsplus_info
461212
consts_dict_keys_inorder
461212
convert_exception_handlers_to_nops
461212
dict_keys_inorder
461212
duplicate_exits_without_lineno
461212
fix_cell_offsets
461212
guarantee_lineno_for_exits
461212
insert_prefix_instructions
461212
label_exception_targets
461212
make_except_stack
461212
makecode
461212
mark_reachable
461212
normalize_jumps
461212
optimize_cfg
461212
propagate_line_numbers
461212
push_cold_blocks_to_end
461212
remove_redundant_jumps
461212
stackdepth
461212
trim_unused_consts
461212
compiler_enter_scope
461631
compiler_exit_scope
461631
compiler_unit_free
461631
list2dict
461631
eliminate_empty_basic_blocks
484268
compiler_if
484350
find_ann
517722
compiler_visit_stmt_expr
556393
check_caller
590636
compiler_call_helper
627975
is_import_originated
631003
compiler_jump_if
663254
compiler_visit_argannotation
723592
assemble_emit_exception_table_item
725512
copy_except_stack
763811
compiler_visit_argannotations
775682
compiler_unit_check
809765
compiler_check_debug_args_seq
879105
dictbytype
923262
write_except_byte
1036952
update_location_to_match_attr
1063720
is_relative_jump
1064981
maybe_optimize_method_call
1122496
compiler_call
1122501
compiler_addop_j
1157622
compiler_check_debug_one_arg
1215731
compiler_addop_name
1486870
validate_keywords
1750476
compiler_use_next_block
1984636
make_cfg_traversal_stack
2140102
is_exit_without_lineno
2198612
except_stack_top
2227863
normalize_basic_block
2445615
optimize_basic_block
2445615
compiler_new_block
2446587
new_basicblock
2462461
compiler_visit_stmt
2508656
blocksize
2529966
compiler_addop
2720384
basicblock_exits_scope
2748126
stackdepth_push
2790137
merge_const_one
2803255
compiler_addop_o
2904437
compiler_addop_load_const
3402719
compiler_add_const
3763544
extend_block
4891230
write_location_info_long_form
5049696
merge_consts_recursive
5065382
write_location_signed_varint
5082644
compiler_nameop
5251991
write_location_info_oneline_form
5904181
forbidden_name
6272209
clean_basic_block
6917565
write_location_info_short_form
7197964
compiler_visit_expr
9992319
compiler_visit_expr1
9992319
compiler_add_o
10502774
_Py_Mangle
12945175
compiler_addop_i
14393695
basicblock_nofallthrough
14663585
scan_block_for_local
15109542
write_location_varint
15149088
assemble_emit
17283827
assemble_emit_location
17283827
write_instr
17283827
compiler_use_new_implicit_block_if_needed
18271701
basicblock_addop
18271800
write_location_first_byte
18490001
write_location_info_entry
18490001
basicblock_next_instr
18498706
stack_effect
18600223
write_location_byte
19006326
basicblock_last_instr
36144624
location_pointer
38721733
instr_size
92238362
is_block_push
106451639
is_jump
132407297
is_bit_set_in_table
168461500
Generated by:
LCOV version 1.14