LCOV - code coverage report
Current view:
top level
-
Python
- compile.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython lcov report
Lines:
4694
5216
90.0 %
Date:
2022-07-07 18:19:46
Functions:
238
239
99.6 %
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
45
compiler_async_comprehension_generator
63
compiler_pattern_star
63
compiler_async_for
81
compiler_try_star
108
compiler_try_star_except
108
compiler_pattern_or
110
compiler_warn
138
compiler_pattern_class
184
compiler_async_with
235
compiler_pattern_mapping
271
compiler_error
289
pattern_helper_sequence_unpack
350
pattern_unpack_helper
350
check_ann_expr
385
compiler_setcomp
407
compiler_pattern_sequence
446
PyCompile_OpcodeStackEffectWithJump
646
compiler_match
679
compiler_match_inner
679
compiler_pattern_as
721
compiler_pattern_value
769
pattern_helper_store_name
788
pattern_helper_rotate
971
compiler_dictcomp
1169
emit_and_reset_fail_pop
1192
compiler_pattern_subpattern
1276
compiler_import_as
1320
compiler_subkwargs
1378
compiler_set
1807
check_annotation
1932
compiler_pattern
2600
jump_to_fail_pop
2664
ensure_fail_pop
2769
compiler_visit_annexpr
3493
compiler_add_yield_from
4577
PyCompile_OpcodeStackEffect
5468
compiler_try_finally
5933
unaryop
7500
compiler_continue
7537
compiler_genexp
7748
compiler_assert
8453
compiler_listcomp
8523
compiler_break
8573
compiler_ifexp
9762
compiler_annassign
9866
compiler_while
9960
copy_basicblock
15879
basicblock_new_b_list_successor
15980
compiler_boolop
17368
compiler_comprehension
17847
compiler_sync_comprehension_generator
18326
compiler_comprehension_generator
18389
apply_static_swaps
19164
swaptimize
19164
addop_yield
19270
compiler_with
21031
compiler_with_except_finish
21258
compiler_augassign
21588
compiler_call_exit_with_nones
23673
next_swappable_instruction
26144
compiler_joined_str
30390
compiler_slice
31132
compiler_dict
32250
write_location_info_no_column
33286
compiler_lambda
34765
compiler_try_except
34786
get_ref_type
35036
compiler_visit_defaults
35291
compiler_import
36461
compiler_class
37741
compiler_lookup_arg
39831
compiler_try
40246
compiler_from_import
41616
assignment_helper
42322
unpack_helper
42322
compiler_unwind_fblock
44850
compiler_for
46446
compiler_subdict
50961
jump_thread
55796
compiler_pop_except_and_reraise
62084
compiler_list
63421
compiler_call_simple_kw_helper
68012
compiler_body
75715
are_all_items_const
77993
insert_instruction
84073
basicblock_has_lineno
91057
compiler_mod
114525
_PyAST_Compile
114687
compiler_free
114687
compiler_init
114687
compiler_formatted_value
118027
pop_except_block
121220
compiler_visit_keyword
124098
get_const_value
125059
push_except_block
131559
mark_cold
148799
mark_warm
148799
check_index
152212
check_subscripter
152222
infer_type
152320
compiler_tuple
166950
assemble_emit_exception_table_entry
183362
compiler_subscript
184581
is_two_element_slice
186996
starunpack_helper
196746
compiler_pop_fblock
197907
compiler_push_fblock
197983
compiler_compare
210496
compiler_return
212398
check_compare
212746
compiler_addcompare
216929
addop_binary
217650
fold_tuple_on_constants
217862
compiler_visit_annotations
260662
compiler_function
260668
compiler_unwind_fblock_stack
264779
compiler_visit_kwonlydefaults
295425
compiler_default_arguments
295428
compiler_check_debug_args
295433
compiler_apply_decorators
298309
compiler_decorators
298407
write_location_info_none
308073
compiler_make_closure
350877
compiler_set_qualname
351007
check_is_arg
428236
add_checks_for_loads_of_unknown_variables
465113
assemble
465113
assemble_exception_table
465113
assemble_free
465113
assemble_init
465113
assemble_jump_offsets
465113
basicblock_returns
465113
build_cellfixedoffsets
465113
compute_code_flags
465113
compute_localsplus_info
465113
consts_dict_keys_inorder
465113
convert_exception_handlers_to_nops
465113
dict_keys_inorder
465113
duplicate_exits_without_lineno
465113
fix_cell_offsets
465113
guarantee_lineno_for_exits
465113
insert_prefix_instructions
465113
label_exception_targets
465113
make_except_stack
465113
makecode
465113
mark_reachable
465113
normalize_jumps
465113
optimize_cfg
465113
propagate_line_numbers
465113
push_cold_blocks_to_end
465113
remove_redundant_jumps
465113
stackdepth
465113
trim_unused_consts
465113
compiler_enter_scope
465532
compiler_exit_scope
465532
compiler_unit_free
465532
list2dict
465532
compiler_if
486138
eliminate_empty_basic_blocks
488398
find_ann
518491
compiler_visit_stmt_expr
558991
check_caller
594412
compiler_call_helper
632117
is_import_originated
633656
compiler_jump_if
666330
compiler_visit_argannotation
729303
assemble_emit_exception_table_item
733448
copy_except_stack
767937
compiler_visit_argannotations
781979
compiler_unit_check
816539
compiler_check_debug_args_seq
886296
dictbytype
931064
write_except_byte
1047840
update_location_to_match_attr
1067320
is_relative_jump
1069810
maybe_optimize_method_call
1128070
compiler_call
1128080
compiler_addop_j
1164750
compiler_check_debug_one_arg
1225770
compiler_addop_name
1492720
validate_keywords
1760190
compiler_use_next_block
1996470
make_cfg_traversal_stack
2158050
is_exit_without_lineno
2210000
except_stack_top
2241920
optimize_basic_block
2461350
normalize_basic_block
2461400
compiler_new_block
2462320
new_basicblock
2478300
compiler_visit_stmt
2524490
blocksize
2544110
compiler_addop
2739540
basicblock_exits_scope
2763310
stackdepth_push
2806670
merge_const_one
2827030
compiler_addop_o
2918390
compiler_addop_load_const
3415690
compiler_add_const
3779120
extend_block
4922750
write_location_info_long_form
5073840
merge_consts_recursive
5082540
write_location_signed_varint
5107120
compiler_nameop
5280440
write_location_info_oneline_form
5931190
forbidden_name
6306690
clean_basic_block
6961710
write_location_info_short_form
7232700
compiler_visit_expr
10033600
compiler_visit_expr1
10033600
compiler_add_o
10552700
_Py_Mangle
13014000
compiler_addop_i
14460800
scan_block_for_local
15150100
write_location_varint
15221500
basicblock_nofallthrough
16021300
is_end_of_basic_block
16717200
assemble_emit
17368800
assemble_emit_location
17368800
write_instr
17368800
compiler_use_new_implicit_block_if_needed
18365100
basicblock_addop
18365200
write_location_first_byte
18579100
write_location_info_entry
18579100
basicblock_next_instr
18594400
stack_effect
18688000
write_location_byte
19095100
basicblock_last_instr
35966900
location_pointer
38907700
instr_size
92666700
is_block_push
107123000
is_jump
133168000
is_bit_set_in_table
171648000
Generated by:
LCOV version 1.14