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

Generated by: LCOV version 1.14