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 17:13:01 Functions: 84.2 % 171 144 1 25 1 118 18 8 25 125 9
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 96.8 % 63 61 2 2 58 1 2 1
View type: Flat (60,120] days: 71.4 % 7 5 2 5
Legend: Lines: hit not hit (120,180] days: 87.2 % 47 41 6 41
(180,240] days: 80.0 % 5 4 1 4
(240..) days: 72.3 % 2108 1525 112 293 178 93 882 6 544 303 901
Function coverage date bins:
[..60] days: 100.0 % 10 10 1 9
(120,180] days: 100.0 % 5 5 5
(180,240] days: 100.0 % 1 1 1
(240..) days: 42.2 % 303 128 1 25 1 117 3 8 25 123

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
AdjustIntervalForTypmod GNC 4296 86.7 % (39 / 45)
AdjustTimestampForTypmod ECB 62132
EncodeSpecialTimestamp ECB 228
GetCurrentTimestamp GIC 4222874 100.0 % (5 / 5)
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 ECB 802366
TimestampDifferenceMilliseconds ECB 138205
TimestampTimestampTzRequiresRewrite ECB 9
anytimestamp_typmodin ECB 329
anytimestamp_typmodout ECB 10
clock_timestamp GIC 9 100.0 % (2 / 2)
current_timestamp ECB 139
date2isoweek GIC 1212 100.0 % (14 / 14)
date2isoyear ECB 7293
date2isoyearday GIC 762 100.0 % (2 / 2)
dt2local ECB 33246
dt2time GIC 129609 100.0 % (9 / 9)
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 GIC 210 92.9 % (13 / 14)
interval2itm ECB 6956
interval_accum ECB 36
interval_accum_inv GIC 3 92.9 % (13 / 14)
interval_avg GIC 15 90.0 % (9 / 10)
interval_cmp GIC 26922 100.0 % (4 / 4)
interval_cmp_internal GNC 107201 100.0 % (4 / 4)
interval_cmp_value GIC 216874 100.0 % (6 / 6)
interval_combine UIC 0 0.0 % (0 / 19)
interval_div GIC 57 95.2 % (20 / 21)
interval_eq GIC 23354 100.0 % (4 / 4)
interval_finite UIC 0 0.0 % (0 / 2)
interval_ge ECB 2912
interval_gt GIC 4788 100.0 % (4 / 4)
interval_hash ECB 1137
interval_hash_extended GIC 30 100.0 % (5 / 5)
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 UIC 0 0.0 % (0 / 7)
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 GIC 30 100.0 % (4 / 4)
interval_out GIC 6316 100.0 % (7 / 7)
interval_part_common ECB 546
interval_pl GIC 183 82.4 % (14 / 17)
interval_recv UIC 0 0.0 % (0 / 9)
interval_scale GIC 90 100.0 % (7 / 7)
interval_send UIC 0 0.0 % (0 / 7)
interval_smaller EUB 0
interval_support GIC 18 84.6 % (22 / 26)
interval_trunc UIC 0 0.0 % (0 / 43)
interval_um ECB 1251
intervaltypmodin ECB 171
intervaltypmodleastfield GIC 18 29.4 % (10 / 34)
intervaltypmodout UIC 0 0.0 % (0 / 57)
isoweek2date ECB 18
isoweek2j GIC 795 100.0 % (4 / 4)
isoweekdate2date ECB 12
itm2interval EUB 0
itmin2interval GIC 10761 100.0 % (8 / 8)
make_interval ECB 27
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 ECB 35250
overlaps_timestamp ECB 36
parse_sane_timezone ECB 93
pg_conf_load_time EUB 0
pg_postmaster_start_time EUB 0
sql_localtimestamp GNC 33 100.0 % (8 / 8)
statement_timestamp GIC 3 100.0 % (2 / 2)
time2t ECB 82862
time_t_to_timestamptz GIC 21266 100.0 % (4 / 4)
timeofday ECB 400
timestamp2timestamptz GIC 57 100.0 % (2 / 2)
timestamp2timestamptz_opt_overflow ECB 7956
timestamp2tm ECB 129603
timestamp_age EUB 0
timestamp_bin GIC 120 89.5 % (17 / 19)
timestamp_cmp GIC 17507 100.0 % (4 / 4)
timestamp_cmp_internal GIC 300197 100.0 % (2 / 2)
timestamp_cmp_timestamptz GIC 36 100.0 % (4 / 4)
timestamp_cmp_timestamptz_internal ECB 7899
timestamp_eq GIC 46214 100.0 % (4 / 4)
timestamp_eq_timestamptz ECB 906
timestamp_finite ECB 48
timestamp_ge ECB 9263
timestamp_ge_timestamptz GIC 1752 100.0 % (4 / 4)
timestamp_gt GIC 49223 100.0 % (4 / 4)
timestamp_gt_timestamptz ECB 1599
timestamp_hash ECB 3243
timestamp_hash_extended GIC 30 100.0 % (2 / 2)
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 GIC 2924 91.7 % (11 / 12)
timestamp_mi_interval GIC 912 100.0 % (7 / 7)
timestamp_ne ECB 393
timestamp_ne_timestamptz UIC 0 0.0 % (0 / 4)
timestamp_out GIC 21572 90.0 % (9 / 10)
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 ECB 693
timestamp_zone GIC 84 69.6 % (16 / 23)
timestamptypmodin ECB 15
timestamptypmodout GIC 5 100.0 % (3 / 3)
timestamptz2timestamp GIC 31025 66.7 % (6 / 9)
timestamptz_age EUB 0
timestamptz_bin ECB 54
timestamptz_cmp_timestamp EUB 0
timestamptz_eq_timestamp UIC 0 0.0 % (0 / 4)
timestamptz_ge_timestamp ECB 3
timestamptz_gt_timestamp EUB 0
timestamptz_in GIC 21157 93.1 % (27 / 29)
timestamptz_izone EUB 0
timestamptz_le_timestamp EUB 0
timestamptz_lt_timestamp EUB 0
timestamptz_mi_interval ECB 699
timestamptz_mi_interval_at_zone ECB 3
timestamptz_mi_interval_internal GNC 807 100.0 % (5 / 5)
timestamptz_ne_timestamp ECB 48
timestamptz_out CBC 35021 90.0 % (9 / 10)
timestamptz_part ECB 4359
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 GIC 30992 100.0 % (3 / 3)
timestamptz_to_str GIC 3745 75.0 % (6 / 8)
timestamptz_to_time_t GNC 15129 100.0 % (3 / 3)
time_t_to_timestamptz ECB 21266
timestamptz_to_time_t GIC 15129
timestamptz_trunc ECB 627
timestamptz_trunc_internal GIC 654 87.1 % (54 / 62)
timestamptz_trunc_zone GIC 27 88.9 % (8 / 9)
timestamptz_zone GIC 93 80.0 % (16 / 20)
timestamptztypmodin CBC 314 100.0 % (3 / 3)
timestamptztypmodout CBC 5 100.0 % (3 / 3)
tm2timestamp GIC 82868 90.0 % (18 / 20)

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