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