LCOV - code coverage report
Current view: top level - Parser - parser.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 15032 21121 71.2 %
Date: 2022-07-20 13:12:14 Functions: 488 489 99.8 %
Branches: 7110 11360 62.6 %

Function Name Sort by function name Hit count Sort by hit count
_PyPegen_parse 224226
_gather_111_rule 112968
_gather_117_rule 1928538
_gather_120_rule 656767
_gather_122_rule 8567
_gather_124_rule 655709
_gather_126_rule 558040
_gather_129_rule 42591
_gather_133_rule 8930
_gather_135_rule 18
_gather_137_rule 17
_gather_139_rule 15
_gather_141_rule 8
_gather_178_rule 5
_gather_18_rule 1818
_gather_194_rule 11
_gather_196_rule 3
_gather_198_rule 29
_gather_200_rule 6
_gather_20_rule 930
_gather_215_rule 13769
_gather_26_rule 45800
_gather_29_rule 44837
_gather_4_rule 1040748
_gather_51_rule 72
_gather_53_rule 38594
_gather_55_rule 1
_gather_57_rule 374
_gather_65_rule 13517
_gather_71_rule 753
_gather_73_rule 645
_gather_76_rule 317
_gather_78_rule 122
_gather_82_rule 823470
_gather_88_rule 21764
_loop0_103_rule 37312
_loop0_105_rule 37255
_loop0_107_rule 295
_loop0_112_rule 65085
_loop0_114_rule 508
_loop0_115_rule 51072
_loop0_118_rule 1344264
_loop0_121_rule 98713
_loop0_123_rule 1044
_loop0_125_rule 97669
_loop0_127_rule 7424
_loop0_128_rule 56752
_loop0_130_rule 12099
_loop0_134_rule 8864
_loop0_136_rule 10
_loop0_138_rule 9
_loop0_140_rule 7
_loop0_142_rule 5
_loop0_152_rule 5
_loop0_153_rule 796
_loop0_154_rule 774
_loop0_159_rule 302
_loop0_160_rule 284
_loop0_163_rule 14
_loop0_165_rule 265
_loop0_167_rule 33
_loop0_172_rule 19
_loop0_176_rule 52
_loop0_177_rule 47
_loop0_179_rule 4
_loop0_181_rule 10
_loop0_183_rule 33
_loop0_185_rule 15
_loop0_190_rule 8
_loop0_195_rule 7
_loop0_197_rule 3
_loop0_199_rule 22
_loop0_19_rule 1816
_loop0_1_rule 72068
_loop0_201_rule 6
_loop0_203_rule 49
_loop0_205_rule 11
_loop0_216_rule 3792
_loop0_21_rule 928
_loop0_24_rule 45790
_loop0_27_rule 44687
_loop0_2_rule 12
_loop0_30_rule 44819
_loop0_36_rule 17578
_loop0_37_rule 17578
_loop0_38_rule 367
_loop0_40_rule 297942
_loop0_44_rule 323835
_loop0_46_rule 323480
_loop0_48_rule 27187
_loop0_49_rule 20
_loop0_52_rule 71
_loop0_54_rule 38574
_loop0_56_rule 1
_loop0_58_rule 373
_loop0_5_rule 2724
_loop0_66_rule 12645
_loop0_72_rule 627
_loop0_74_rule 622
_loop0_77_rule 276
_loop0_79_rule 79
_loop0_83_rule 648263
_loop0_89_rule 21669
_loop0_95_rule 79
_loop0_96_rule 79
_loop0_97_rule 58
_loop0_99_rule 33996
_loop1_100_rule 3143
_loop1_101_rule 37349
_loop1_102_rule 37273
_loop1_104_rule 37312
_loop1_106_rule 37255
_loop1_108_rule 103
_loop1_109_rule 1604162
_loop1_113_rule 2124538
_loop1_131_rule 16500
_loop1_14_rule 3199180
_loop1_161_rule 4
_loop1_168_rule 253
_loop1_175_rule 288
_loop1_186_rule 26
_loop1_187_rule 47
_loop1_248_rule 49
_loop1_249_rule 30
_loop1_25_rule 1277
_loop1_32_rule 400849
_loop1_39_rule 322646
_loop1_3_rule 1038152
_loop1_41_rule 24704
_loop1_42_rule 341144
_loop1_43_rule 323768
_loop1_45_rule 323835
_loop1_47_rule 323480
_loop1_50_rule 5934
_loop1_60_rule 41588
_loop1_61_rule 297
_loop1_64_rule 1269
_loop1_80_rule 72089
_loop1_81_rule 2094896
_loop1_84_rule 9717377
_loop1_85_rule 9746242
_loop1_86_rule 9792136
_loop1_98_rule 37139
_tmp_10_rule 3114231
_tmp_110_rule 863752
_tmp_116_rule 3090425
_tmp_119_rule 1344264
_tmp_11_rule 9486
_tmp_12_rule 3201373
_tmp_132_rule 733
_tmp_13_rule 1969
_tmp_143_rule 27
_tmp_144_rule 11
_tmp_145_rule 1130
_tmp_146_rule 1125
_tmp_147_rule 2706
_tmp_148_rule 7
_tmp_149_rule 11
_tmp_150_rule 1239
_tmp_151_rule 34
_tmp_155_rule 14
_tmp_156_rule 2906
_tmp_157_rule 2900
_tmp_158_rule 2896
_tmp_15_rule 803173
_tmp_162_rule 275
_tmp_164_rule 265
_tmp_166_rule 41
_tmp_169_rule 245
_tmp_16_rule 25588
_tmp_170_rule 29
_tmp_171_rule 23
_tmp_173_rule 4
_tmp_174_rule 5
_tmp_17_rule 56377
_tmp_180_rule 40
_tmp_182_rule 33
_tmp_184_rule 17
_tmp_188_rule 10
_tmp_189_rule 8
_tmp_191_rule 4
_tmp_192_rule 4
_tmp_193_rule 14
_tmp_202_rule 41
_tmp_204_rule 49
_tmp_206_rule 8
_tmp_207_rule 29
_tmp_208_rule 23
_tmp_209_rule 21
_tmp_210_rule 18
_tmp_211_rule 4
_tmp_212_rule 66
_tmp_213_rule 6
_tmp_214_rule 5
_tmp_217_rule 3799
_tmp_218_rule 1
_tmp_219_rule 4011463
_tmp_220_rule 57387
_tmp_221_rule 2650
_tmp_222_rule 440979
_tmp_223_rule 513299
_tmp_224_rule 2122843
_tmp_225_rule 9746242
_tmp_226_rule 9792135
_tmp_227_rule 48014
_tmp_228_rule 568
_tmp_229_rule 63504
_tmp_22_rule 8798
_tmp_230_rule 2751931
_tmp_231_rule 135571
_tmp_232_rule 32920
_tmp_233_rule 803
_tmp_234_rule 779
_tmp_235_rule 9
_tmp_236_rule 0
_tmp_237_rule 14
_tmp_238_rule 4
_tmp_239_rule 35
_tmp_23_rule 9808
_tmp_240_rule 9
_tmp_241_rule 49
_tmp_242_rule 30
_tmp_243_rule 2741094
_tmp_244_rule 10
_tmp_245_rule 4
_tmp_246_rule 28
_tmp_247_rule 9
_tmp_28_rule 76884
_tmp_31_rule 46076
_tmp_33_rule 56469
_tmp_34_rule 336834
_tmp_35_rule 3447
_tmp_59_rule 16830
_tmp_62_rule 41811
_tmp_63_rule 339
_tmp_67_rule 1353
_tmp_68_rule 581
_tmp_69_rule 1820
_tmp_6_rule 1271877
_tmp_70_rule 111
_tmp_75_rule 809
_tmp_7_rule 4037143
_tmp_87_rule 9966036
_tmp_8_rule 3209662
_tmp_90_rule 68531
_tmp_91_rule 863699
_tmp_92_rule 261397
_tmp_93_rule 112968
_tmp_94_rule 293747
_tmp_9_rule 3153205
annotated_rhs_rule 7604
annotation_rule 4407645
args_rule 1928539
arguments_rule 3120727
as_pattern_rule 6773
assert_stmt_rule 9810
assignment_expression_rule 12858422
assignment_rule 3210862
atom_rule 28987665
attr_raw 2185
attr_rule 5978
augassign_rule 761937
await_primary_rule 25808746
bitwise_and_raw 22396045
bitwise_and_rule 44784691
bitwise_or_raw 22379664
bitwise_or_rule 46557699
bitwise_xor_raw 22388646
bitwise_xor_rule 44768314
block_rule 1730065
capture_pattern_rule 3244
case_block_rule 3053
class_def_raw_rule 56490
class_def_rule 56490
class_pattern_rule 560
closed_pattern_rule 14745
compare_op_bitwise_or_pair_rule 10037237
comparison_rule 12084262
complex_number_rule 3728
compound_stmt_rule 4037143
conjunction_rule 24020892
decorators_rule 400849
default_rule 347091
del_stmt_rule 8844
del_t_atom_rule 4541
del_target_rule 10773
del_targets_rule 8930
dict_rule 112968
dictcomp_rule 5367
disjunction_rule 24010047
dotted_as_name_rule 46094
dotted_as_names_rule 44837
dotted_name_raw 222515
dotted_name_rule 314399
double_star_pattern_rule 368
double_starred_kvpair_rule 1608586
double_starred_kvpairs_rule 112968
elif_stmt_rule 521148
else_block_rule 601515
eq_bitwise_or_rule 10037237
eval_rule 73802
except_block_rule 85594
except_star_block_rule 659
expression_rule 22780670
expression_without_invalid_rule 1161
expressions_rule 72975
factor_rule 23174052
file_rule 49245
finally_block_rule 90552
for_if_clause_rule 2176116
for_if_clauses_rule 2124538
for_stmt_rule 61364
fstring_rule 96084
func_type_comment_rule 340280
func_type_rule 18
function_def_raw_rule 347529
function_def_rule 344359
genexp_rule 14494473
global_stmt_rule 1818
group_pattern_rule 1938
group_rule 293747
gt_bitwise_or_rule 9916307
gte_bitwise_or_rule 9924511
guard_rule 1803
if_stmt_rule 487179
imaginary_number_rule 50
import_from_as_name_rule 79369
import_from_as_names_rule 45800
import_from_rule 45806
import_from_targets_rule 45786
import_name_rule 90627
import_stmt_rule 90627
in_bitwise_or_rule 9892107
interactive_rule 5077
invalid_ann_assign_target_rule 913
invalid_arguments_rule 94
invalid_as_pattern_rule 107
invalid_assignment_rule 901
invalid_block_rule 136
invalid_case_block_rule 21
invalid_class_argument_pattern_rule 4
invalid_class_def_raw_rule 15
invalid_class_pattern_rule 19
invalid_comprehension_rule 2906
invalid_def_raw_rule 217
invalid_default_rule 1775
invalid_del_stmt_rule 37
invalid_dict_comprehension_rule 37
invalid_double_starred_kvpairs_rule 13769
invalid_double_type_comments_rule 63
invalid_elif_stmt_rule 8
invalid_else_stmt_rule 6
invalid_except_star_stmt_indent_rule 58
invalid_except_stmt_indent_rule 78
invalid_except_stmt_rule 103
invalid_expression_rule 2706
invalid_finally_stmt_rule 15
invalid_for_stmt_rule 54
invalid_for_target_rule 535
invalid_group_rule 50
invalid_if_stmt_rule 39
invalid_import_from_targets_rule 10
invalid_kvpair_rule 3
invalid_kwarg_rule 1130
invalid_kwds_rule 242
invalid_lambda_kwds_rule 19
invalid_lambda_parameters_helper_rule 52
invalid_lambda_parameters_rule 52
invalid_lambda_star_etc_rule 25
invalid_legacy_expression_rule 2674
invalid_match_stmt_rule 829
invalid_named_expression_rule 2435
invalid_parameters_helper_rule 302
invalid_parameters_rule 302
invalid_star_etc_rule 252
invalid_try_stmt_rule 51
invalid_while_stmt_rule 23
invalid_with_item_rule 28
invalid_with_stmt_indent_rule 63
invalid_with_stmt_rule 45
inversion_rule 24139599
is_bitwise_or_rule 9831719
isnot_bitwise_or_rule 9860060
items_pattern_rule 645
key_value_pattern_rule 809
keyword_pattern_rule 178
keyword_patterns_rule 122
kvpair_rule 1610848
kwarg_or_double_starred_rule 566698
kwarg_or_starred_rule 1480219
kwargs_rule 656767
kwds_rule 340581
lambda_kwds_rule 37270
lambda_param_maybe_default_rule 768
lambda_param_no_default_rule 1024906
lambda_param_rule 1607658
lambda_param_with_default_rule 112861
lambda_parameters_rule 37276
lambda_params_rule 37303
lambda_slash_no_default_rule 37349
lambda_slash_with_default_rule 37312
lambda_star_etc_rule 37276
lambdef_rule 2291729
list_rule 263549
listcomp_rule 29223
literal_expr_rule 809
literal_pattern_rule 4799
lt_bitwise_or_rule 9939592
lte_bitwise_or_rule 9948481
mapping_pattern_rule 992
match_stmt_rule 2992338
maybe_sequence_pattern_rule 753
maybe_star_pattern_rule 3457
name_or_attr_rule 3928
named_expression_rule 7026903
nonlocal_stmt_rule 930
noteq_bitwise_or_rule 9966036
notin_bitwise_or_rule 9902905
open_sequence_pattern_rule 1933
or_pattern_rule 13517
param_maybe_default_rule 52435
param_no_default_rule 4050200
param_no_default_star_annotation_rule 5964
param_rule 9369786
param_star_annotation_rule 11925
param_with_default_rule 1207831
parameters_rule 340604
params_rule 340654
pattern_capture_target_rule 3700
pattern_rule 6773
patterns_rule 1848
positional_patterns_rule 317
power_rule 12907526
primary_raw 27856270
primary_rule 116564733
raise_stmt_rule 61013
real_number_rule 7470
return_stmt_rule 239070
sequence_pattern_rule 1681
set_rule 13763
setcomp_rule 1586
shift_expr_raw 22407292
shift_expr_rule 67207102
signed_number_rule 5608
signed_real_number_rule 7430
simple_stmt_rule 4251610
simple_stmts_rule 3203076
single_subscript_attribute_target_rule 5599881
single_target_rule 2398543
slash_no_default_rule 341144
slash_with_default_rule 323835
slice_rule 1047534
slices_rule 999522
star_annotation_rule 47
star_atom_rule 3992977
star_etc_rule 340591
star_expression_rule 10845112
star_expressions_rule 3618724
star_named_expression_rule 4663594
star_named_expressions_rule 823470
star_pattern_rule 3457
star_target_rule 6255532
star_targets_list_seq_rule 42591
star_targets_rule 4125968
star_targets_tuple_seq_rule 31442
starred_expression_rule 3886840
statement_newline_rule 5060
statement_rule 4032083
statements_rule 1038152
strings_rule 3411414
subject_expr_rule 2385
sum_raw 22555156
sum_rule 67423508
t_lookahead_rule 7287630
t_primary_raw 7175482
t_primary_rule 44297395
target_with_star_atom_rule 4316540
term_raw 23105064
term_rule 136663092
try_stmt_rule 49059
tuple_rule 865839
type_expressions_rule 18
value_pattern_rule 1998
while_stmt_rule 11686
wildcard_pattern_rule 2304
with_item_rule 39864
with_stmt_rule 39282
yield_expr_rule 1146091
yield_stmt_rule 15191

Generated by: LCOV version 1.14