LCOV - code coverage report
Current view: top level - Modules - _datetimemodule.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 2478 2711 91.4 %
Date: 2022-07-20 13:12:14 Functions: 222 223 99.6 %
Branches: 1299 1614 80.5 %

Function Name Sort by function name Hit count Sort by hit count
PyInit__datetime 151
_datetime_exec 151
_find_isoformat_datetime_separator 1047
_sanitize_isoformat_str 1065
_timezone_check_argument 4616
accum 15205
add_date_timedelta 104
add_datetime_timedelta 21564
append_keyword_fold 2
append_keyword_tzinfo 7
build_struct_time 5386
call_dst 7725
call_tzinfo_method 22717
call_tzname 5941
call_utcoffset 14992
check_date_args 95131
check_delta_day_range 23140
check_time_args 75989
check_tzinfo_subclass 79551
checked_divmod 24921
cmperror 8
create_timezone 1332
date_add 80
date_ctime 1
date_day 5557
date_format 87
date_from_pickle 48
date_fromisocalendar 148
date_fromisoformat 51
date_fromordinal 15067
date_fromtimestamp 17
date_getstate 32
date_hash 1506
date_isocalendar 5200
date_isoformat 43
date_isoweekday 153
date_month 5579
date_new 15315
date_reduce 32
date_replace 6
date_repr 19
date_richcompare 4274
date_str 26
date_strftime 4743
date_subtract 45
date_timetuple 4735
date_today 18
date_toordinal 33394
date_weekday 12494
date_year 7381
datetime_add 14239
datetime_alloc 62204
datetime_astimezone 3112
datetime_best_possible 60
datetime_combine 41
datetime_ctime 9
datetime_date_fromtimestamp 15
datetime_date_fromtimestamp_capi 2
datetime_datetime_now_impl 47
datetime_dealloc 74366
datetime_destructor 151
datetime_dst 6646
datetime_fold 19086
datetime_from_pickle 138
datetime_from_timestamp 1186
datetime_from_timet_and_us 1234
datetime_fromisoformat 1074
datetime_fromtimestamp 422
datetime_getdate 374
datetime_getstate 89
datetime_gettime 23
datetime_gettimetz 7
datetime_hash 2079
datetime_hour 17950
datetime_isoformat 1340
datetime_microsecond 417
datetime_minute 18093
datetime_new 44578
datetime_reduce 4
datetime_reduce_ex 85
datetime_replace 23098
datetime_repr 9
datetime_richcompare 20966
datetime_second 17913
datetime_str 535
datetime_strptime 90
datetime_subtract 2843
datetime_timestamp 105
datetime_timetuple 645
datetime_tzinfo 11408
datetime_tzname 5804
datetime_utcfromtimestamp 770
datetime_utcnow 14
datetime_utcoffset 10345
datetime_utctimetuple 14
days_before_month 72074
days_before_year 66688
days_in_month 117806
delta_abs 15
delta_add 948
delta_bool 1529
delta_cmp 20948
delta_divide 1406
delta_divmod 4
delta_getstate 115
delta_hash 27
delta_multiply 914
delta_negative 1210
delta_new 11496
delta_positive 11
delta_reduce 92
delta_remainder 6
delta_repr 38
delta_richcompare 20415
delta_str 18
delta_subtract 6258
delta_to_microseconds 4357
delta_total_seconds 515
delta_truedivide 73
diff_to_bool 45665
divide_nearest 407
divide_timedelta_int 10
divide_timedelta_timedelta 1416
divmod 42180
flip_fold 826
format_ctime 10
format_utcoffset 1284
generic_hash 782
get_datetime_capi 151
get_flip_fold_offset 826
get_float_as_integer_ratio 367
get_tzinfo_member 108
is_digit 916
is_leap 49590
iso_calendar_date_new_impl 5200
iso_calendar_date_reduce 4
iso_calendar_date_repr 0
iso_calendar_date_week 168
iso_calendar_date_weekday 168
iso_calendar_date_year 168
iso_to_ymd 252
iso_week1_monday 8440
local 346
local_timezone 29
local_timezone_from_local 23
local_timezone_from_timestamp 52
local_to_seconds 68
make_Zreplacement 43
make_freplacement 9
microseconds_to_delta_ex 12469
multiply_int_timedelta 555
multiply_truedivide_timedelta_float 367
new_date_ex 20357
new_date_subclass_ex 15268
new_datetime_ex 7226
new_datetime_ex2 74774
new_datetime_subclass_ex 22477
new_datetime_subclass_fold_ex 23726
new_delta_ex 23140
new_time_ex 2
new_time_ex2 1269
new_timezone 934
normalize_d_s_us 9434
normalize_date 21668
normalize_datetime 21564
normalize_pair 91313
normalize_y_m_d 21668
ord_to_ymd 15617
parse_digits 8676
parse_hh_mm_ss_ff 1906
parse_isoformat_date 1090
parse_isoformat_time 1205
pep495_eq_exception 414
py_time_second 47
set_date_fields 95026
time_alloc 1267
time_dealloc 995
time_dst 104
time_fold 26
time_from_pickle 56
time_fromisoformat 288
time_getstate 42
time_hash 38
time_hour 47
time_isoformat 363
time_microsecond 17
time_minute 149
time_new 734
time_reduce 3
time_reduce_ex 39
time_replace 80
time_repr 19
time_richcompare 735
time_str 54
time_strftime 21
time_time 18
time_tzinfo 26
time_tzname 116
time_utcoffset 423
timezone_dealloc 879
timezone_dst 331
timezone_fromutc 1029
timezone_getinitargs 67
timezone_hash 2
timezone_new 401
timezone_repr 5
timezone_richcompare 323
timezone_str 77
timezone_tzname 74
timezone_utcoffset 4211
truedivide_timedelta_int 50
truedivide_timedelta_timedelta 6
tzinfo_dst 2
tzinfo_from_isoformat_results 1224
tzinfo_fromutc 647
tzinfo_nogo 7
tzinfo_reduce 97
tzinfo_tzname 2
tzinfo_utcoffset 3
utc_to_seconds 565
weekday 18097
wrap_strftime 4752
ymd_to_ord 66688

Generated by: LCOV version 1.14