LCOV - differential code coverage report
Current view: top level - contrib/pg_trgm - trgm_op.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 89.3 % 552 493 1 58 21 472 13
Current Date: 2026-05-29 21:51:00 -0400 Functions: 94.8 % 58 55 3 10 45 1
Baseline: lcov-20260530-034037-baseline Branches: 73.6 % 322 237 1 84 7 230 217 59
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 82.2 % 152 125 1 26 21 104
(360..) days: 92.0 % 400 368 32 368
Function coverage date bins:
(30,360] days: 100.0 % 8 8 3 5
(360..) days: 94.0 % 50 47 3 7 40
Branch coverage date bins:
(30,360] days: 67.5 % 80 54 1 25 7 47
(360..) days: 75.6 % 242 183 59 183

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
CMPTRGM_CHOOSE CBC 3 80.0 % (4 / 5) 50.0 % (1 / 2)
CMPTRGM_EQ GNC 721456 100.0 % (4 / 4) 100.0 % (6 / 6)
CMPTRGM_SIGNED CBC 6787664 100.0 % (4 / 4) 100.0 % (12 / 12)
CMPTRGM_UNSIGNED UBC 0 0.0 % (0 / 4) 0.0 % (0 / 12)
Pg_magic_func CBC 4 100.0 % (1 / 1)
_PG_init CBC 4 100.0 % (6 / 6)
calc_word_similarity GNC 13128 100.0 % (32 / 32) 100.0 % (14 / 14)
cnt_sml CBC 68673 100.0 % (18 / 18) 92.9 % (13 / 14)
comp_ptrgm CBC 1351349 100.0 % (7 / 7) 100.0 % (2 / 2)
compact_trigram CBC 1658 100.0 % (8 / 8) 100.0 % (4 / 4)
enlarge_trgm_array CBC 128429 50.0 % (4 / 8) 16.7 % (1 / 6)
find_word CBC 243532 100.0 % (17 / 17) 100.0 % (10 / 10)
generate_trgm GNC 89895 100.0 % (10 / 10) 100.0 % (2 / 2)
generate_trgm_only CBC 116151 80.6 % (29 / 36) 78.6 % (11 / 14)
generate_wildcard_trgm GNC 55 83.3 % (20 / 24) 75.0 % (6 / 8)
get_wildcard_part CBC 119 90.2 % (46 / 51) 82.4 % (28 / 34)
index_strategy_get_limit CBC 45202 80.0 % (8 / 10) 50.0 % (3 / 6)
init_trgm_array CBC 116206 87.5 % (7 / 8) 25.0 % (1 / 4)
iterate_word_similarity GNC 13128 100.0 % (56 / 56) 96.2 % (50 / 52)
make_positional_trgm GNC 13128 100.0 % (10 / 10) 100.0 % (4 / 4)
make_trigrams CBC 128456 71.4 % (30 / 42) 54.2 % (13 / 24)
pg_finfo_set_limit CBC 2 100.0 % (1 / 1)
pg_finfo_show_limit CBC 2 100.0 % (1 / 1)
pg_finfo_show_trgm CBC 2 100.0 % (1 / 1)
pg_finfo_similarity CBC 2 100.0 % (1 / 1)
pg_finfo_similarity_dist CBC 2 100.0 % (1 / 1)
pg_finfo_similarity_op CBC 2 100.0 % (1 / 1)
pg_finfo_strict_word_similarity CBC 2 100.0 % (1 / 1)
pg_finfo_strict_word_similarity_commutator_op CBC 2 100.0 % (1 / 1)
pg_finfo_strict_word_similarity_dist_commutator_op CBC 2 100.0 % (1 / 1)
pg_finfo_strict_word_similarity_dist_op CBC 1 100.0 % (1 / 1)
pg_finfo_strict_word_similarity_op CBC 2 100.0 % (1 / 1)
pg_finfo_word_similarity CBC 2 100.0 % (1 / 1)
pg_finfo_word_similarity_commutator_op CBC 3 100.0 % (1 / 1)
pg_finfo_word_similarity_dist_commutator_op CBC 2 100.0 % (1 / 1)
pg_finfo_word_similarity_dist_op CBC 1 100.0 % (1 / 1)
pg_finfo_word_similarity_op CBC 2 100.0 % (1 / 1)
set_limit CBC 2 100.0 % (6 / 6)
show_limit CBC 20000 100.0 % (2 / 2)
show_trgm GNC 7 89.5 % (17 / 19) 67.9 % (19 / 28)
similarity CBC 31452 100.0 % (11 / 11) 50.0 % (2 / 4)
similarity_dist CBC 1004 100.0 % (3 / 3)
similarity_op CBC 6000 100.0 % (3 / 3)
strict_word_similarity CBC 882 100.0 % (8 / 8) 50.0 % (2 / 4)
strict_word_similarity_commutator_op CBC 2530 100.0 % (8 / 8) 50.0 % (2 / 4)
strict_word_similarity_dist_commutator_op CBC 720 100.0 % (8 / 8) 50.0 % (2 / 4)
strict_word_similarity_dist_op UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
strict_word_similarity_op CBC 2530 100.0 % (8 / 8) 50.0 % (2 / 4)
trgm2int CBC 34829 100.0 % (8 / 8)
trgm_contained_by CBC 190 100.0 % (16 / 16) 100.0 % (10 / 10)
trgm_presence_map GNC 2150 100.0 % (20 / 20) 100.0 % (8 / 8)
trigram_qsort GNC 89900 80.0 % (4 / 5) 50.0 % (1 / 2)
trigram_qunique GNC 89900 100.0 % (2 / 2)
word_similarity CBC 902 100.0 % (8 / 8) 50.0 % (2 / 4)
word_similarity_commutator_op CBC 2926 100.0 % (8 / 8) 50.0 % (2 / 4)
word_similarity_dist_commutator_op CBC 714 100.0 % (8 / 8) 50.0 % (2 / 4)
word_similarity_dist_op UBC 0 0.0 % (0 / 8) 0.0 % (0 / 4)
word_similarity_op CBC 1924 100.0 % (8 / 8) 50.0 % (2 / 4)

Generated by: LCOV version 2.5.0-beta