LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - timestamp.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 73.4 % 2230 1636 15 112 293 178 93 884 114 545 305 902 18 73
Current Date: 2023-04-08 15:15:32 Functions: 84.2 % 171 144 1 25 1 118 18 8 25 125 9
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
AdjustIntervalForTypmod ECB 4296
AdjustTimestampForTypmod ECB 62132
EncodeSpecialTimestamp ECB 228
GetCurrentTimestamp ECB 4222874
GetEpochTime GIC 14186 92.9 % (13 / 14)
NonFiniteTimestampTzPart GIC 306 75.0 % (9 / 12)
SetEpochTimestamp GNC 14183 100.0 % (5 / 5)
GetEpochTime ECB 14186
SetEpochTimestamp GIC 14183
TimestampDifference GIC 583953 100.0 % (8 / 8)
TimestampDifferenceExceeds GIC 802366 100.0 % (3 / 3)
TimestampDifferenceMilliseconds ECB 138205
TimestampTimestampTzRequiresRewrite GIC 9 100.0 % (4 / 4)
anytimestamp_typmod_check GIC 338 85.7 % (6 / 7)
anytimestamp_typmodin GNC 329 80.0 % (4 / 5)
anytimestamp_typmodout ECB 10
clock_timestamp GIC 9 100.0 % (2 / 2)
current_timestamp ECB 139
date2isoweek ECB 1212
date2isoyear GIC 7293 100.0 % (15 / 15)
date2isoyearday ECB 762
dt2local GNC 33246 100.0 % (3 / 3)
dt2time ECB 129609
extract_timestamp ECB 981
extract_timestamptz ECB 14333
float8_timestamptz CBC 21 88.2 % (15 / 17)
generate_series_timestamp GIC 120 96.2 % (25 / 26)
generate_series_timestamptz ECB 30990
generate_series_timestamptz_at_zone ECB 42
generate_series_timestamptz_internal GNC 31032 100.0 % (28 / 28)
in_range_interval_interval GIC 216 92.9 % (13 / 14)
in_range_timestamp_interval GIC 879 100.0 % (14 / 14)
in_range_timestamptz_interval ECB 210
interval2itm GIC 6956 100.0 % (16 / 16)
interval_accum ECB 36
interval_accum_inv ECB 3
interval_avg ECB 15
interval_cmp GIC 26922 100.0 % (4 / 4)
interval_cmp_internal ECB 107201
interval_combine EUB 0
interval_div ECB 57
interval_eq GIC 23354 100.0 % (4 / 4)
interval_finite EUB 0
interval_ge ECB 2912
interval_gt ECB 4788
interval_hash ECB 1137
interval_hash_extended ECB 30
interval_in GNC 4653 93.8 % (30 / 32)
interval_justify_days GIC 996 76.5 % (13 / 17)
interval_justify_hours ECB 3914
interval_justify_interval GIC 27 84.8 % (28 / 33)
interval_larger EUB 0
interval_le GIC 3152 100.0 % (4 / 4)
interval_lt GIC 45796 100.0 % (4 / 4)
interval_mi ECB 723
interval_mul GIC 5766 86.7 % (26 / 30)
interval_ne ECB 30
interval_out GIC 6316 100.0 % (7 / 7)
interval_part GIC 120 100.0 % (2 / 2)
interval_part_common ECB 546
interval_pl GIC 183 82.4 % (14 / 17)
interval_recv EUB 0
interval_scale GIC 90 100.0 % (7 / 7)
interval_send EUB 0
interval_smaller EUB 0
interval_support GIC 18 84.6 % (22 / 26)
interval_trunc EUB 0
interval_um GIC 1251 76.9 % (10 / 13)
intervaltypmodin ECB 171
intervaltypmodleastfield ECB 18
intervaltypmodout UIC 0 0.0 % (0 / 57)
isoweek2date ECB 18
isoweek2j GIC 795 100.0 % (4 / 4)
isoweekdate2date GIC 12 85.7 % (6 / 7)
itm2interval EUB 0
itmin2interval GIC 10761 100.0 % (8 / 8)
make_interval GIC 27 100.0 % (18 / 18)
make_timestamp CBC 9 100.0 % (9 / 9)
make_timestamp_internal CBC 105 81.5 % (22 / 27)
make_timestamptz CBC 3 100.0 % (9 / 9)
make_timestamptz_at_timezone CBC 93 87.5 % (14 / 16)
mul_d_interval GNC 5715 100.0 % (4 / 4)
interval_mul ECB 5766
mul_d_interval GIC 5715
now GIC 35250 100.0 % (2 / 2)
overlaps_timestamp GIC 36 50.0 % (24 / 48)
parse_sane_timezone ECB 93
pg_conf_load_time UIC 0 0.0 % (0 / 2)
pg_postmaster_start_time EUB 0
sql_localtimestamp ECB 33
statement_timestamp GIC 3 100.0 % (2 / 2)
time2t ECB 82862
time_t_to_timestamptz GIC 21266 100.0 % (4 / 4)
timeofday GIC 400 100.0 % (7 / 7)
timestamp2timestamptz ECB 57
timestamp2timestamptz_opt_overflow GIC 7956 78.9 % (15 / 19)
timestamp2tm GIC 129603 81.4 % (35 / 43)
timestamp_age EUB 0
timestamp_bin GIC 120 89.5 % (17 / 19)
timestamp_cmp ECB 17507
timestamp_cmp_internal ECB 300197
timestamp_cmp_timestamptz ECB 36
timestamp_cmp_timestamptz_internal GIC 7899 85.7 % (6 / 7)
timestamp_eq GIC 46214 100.0 % (4 / 4)
timestamp_eq_timestamptz GIC 906 100.0 % (4 / 4)
timestamp_finite ECB 48
timestamp_ge GIC 9263 100.0 % (4 / 4)
timestamp_ge_timestamptz GIC 1752 100.0 % (4 / 4)
timestamp_gt ECB 49223
timestamp_gt_timestamptz ECB 1599
timestamp_hash ECB 3243
timestamp_hash_extended ECB 30
timestamp_in ECB 9010
timestamp_izone EUB 0
timestamp_larger EUB 0
timestamp_le ECB 9253
timestamp_le_timestamptz ECB 1899
timestamp_lt ECB 129215
timestamp_lt_timestamptz GIC 1602 100.0 % (4 / 4)
timestamp_mi ECB 2924
timestamp_ne GIC 393 100.0 % (4 / 4)
timestamp_ne_timestamptz UIC 0 0.0 % (0 / 4)
timestamp_out ECB 21572
timestamp_part GIC 4380 100.0 % (2 / 2)
timestamp_part_common GIC 5361 94.6 % (106 / 112)
timestamp_pl_interval GIC 4369 84.8 % (28 / 33)
timestamp_recv UIC 0 0.0 % (0 / 11)
timestamp_scale GIC 31086 100.0 % (6 / 6)
timestamp_send UIC 0 0.0 % (0 / 5)
timestamp_smaller EUB 0
timestamp_sortsupport ECB 459
timestamp_support ECB 12
timestamp_timestamptz GIC 54 100.0 % (3 / 3)
timestamp_trunc GIC 693 78.7 % (48 / 61)
timestamp_zone ECB 84
timestamptypmodin GIC 15 100.0 % (3 / 3)
timestamptypmodout ECB 5
timestamptz2timestamp GIC 31025 66.7 % (6 / 9)
timestamptz_age UIC 0 0.0 % (0 / 57)
timestamptz_bin GIC 54 84.2 % (16 / 19)
timestamptz_cmp_timestamp UIC 0 0.0 % (0 / 4)
timestamptz_eq_timestamp EUB 0
timestamptz_ge_timestamp GIC 3 100.0 % (4 / 4)
timestamptz_gt_timestamp EUB 0
timestamptz_in GIC 21157 93.1 % (27 / 29)
timestamptz_izone UIC 0 0.0 % (0 / 12)
timestamptz_le_timestamp EUB 0
timestamptz_lt_timestamp UIC 0 0.0 % (0 / 4)
timestamptz_mi_interval GIC 699 100.0 % (4 / 4)
timestamptz_mi_interval_at_zone ECB 3
timestamptz_mi_interval_internal GNC 807 100.0 % (5 / 5)
timestamptz_ne_timestamp GIC 48 100.0 % (4 / 4)
timestamptz_out CBC 35021 90.0 % (9 / 10)
timestamptz_part GIC 4359 100.0 % (2 / 2)
timestamptz_part_common ECB 18692
timestamptz_pl_interval ECB 16366
timestamptz_pl_interval_at_zone GNC 3 100.0 % (6 / 6)
timestamptz_pl_interval_internal ECB 48294
timestamptz_recv UNC 0 0.0 % (0 / 11)
timestamptz_scale GNC 228 100.0 % (6 / 6)
timestamptz_send UBC 0 0.0 % (0 / 5)
timestamptz_timestamp ECB 30992
timestamptz_to_str ECB 3745
timestamptz_to_time_t GNC 15129 100.0 % (3 / 3)
time_t_to_timestamptz ECB 21266
timestamptz_to_time_t GIC 15129
timestamptz_trunc GIC 627 85.7 % (6 / 7)
timestamptz_trunc_internal ECB 654
timestamptz_trunc_zone GIC 27 88.9 % (8 / 9)
timestamptztypmodin CBC 314 100.0 % (3 / 3)
timestamptztypmodout CBC 5 100.0 % (3 / 3)
tm2timestamp ECB 82868

Generated by: LCOV version v1.16-55-g56c0a2a