GCC Code Coverage Report


Directory: src/
Date: 2026-11-18 16:12:57
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 13050 14157 92.2%
Functions: 1103 1146 96.2%
Branches: 5217 7099 73.5%

File Lines Functions Branches
algo/distance.c 84.1 84.1% 127 / 151 100.0% 17 / 17 62.2% 102 / 164
algo/distance_avx2.c 89.9 89.9% 124 / 138 100.0% 6 / 6 63.8% 74 / 116
algo/distance_avx512.c 87.6 87.6% 177 / 202 100.0% 6 / 6 74.6% 91 / 122
algo/hkmeans.c 93.2 93.2% 273 / 293 100.0% 12 / 12 85.1% 120 / 141
algo/hkmeans.h 100.0 100.0% 6 / 6 100.0% 3 / 3 75.0% 3 / 4
algo/kmeans.c 89.8 89.8% 406 / 452 93.9% 31 / 33 54.6% 241 / 441
algo/kmeans.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
algo/kmeans_elkan.c 96.5 96.5% 250 / 259 100.0% 11 / 11 85.0% 85 / 100
algo/kmeans_hamerly.c 88.6 88.6% 155 / 175 100.0% 8 / 8 82.1% 64 / 78
algo/kmeans_internal.h 100.0 100.0% 3 / 3 -% 0 / 0 45.0% 27 / 60
algo/kmeans_lloyd.c 96.3 96.3% 236 / 245 100.0% 13 / 13 83.5% 96 / 115
algo/simd_utils.h 100.0 100.0% 18 / 18 100.0% 4 / 4 -% 0 / 0
algo/topk.c 98.0 98.0% 299 / 305 100.0% 23 / 23 90.6% 164 / 181
algo/topk.h 100.0 100.0% 4 / 4 100.0% 1 / 1 100.0% 14 / 14
algo/vecops.c 100.0 100.0% 105 / 105 100.0% 20 / 20 100.0% 36 / 36
algo/vecops.h 100.0 100.0% 5 / 5 100.0% 1 / 1 50.0% 1 / 2
core/idset.h 96.9 96.9% 31 / 32 100.0% 3 / 3 83.3% 15 / 18
core/memory.h 100.0 100.0% 4 / 4 100.0% 1 / 1 50.0% 1 / 2
core/platform.c 95.1 95.1% 58 / 61 100.0% 7 / 7 68.6% 24 / 35
core/platform.h 100.0 100.0% 4 / 4 100.0% 2 / 2 25.0% 1 / 4
core/types.h 75.0 75.0% 6 / 8 66.7% 2 / 3 50.0% 1 / 2
index/build_progress.c 78.9 78.9% 15 / 19 75.0% 6 / 8 100.0% 4 / 4
index/centroid_build.c 89.6 89.6% 103 / 115 100.0% 2 / 2 69.0% 40 / 58
index/centroid_build.h 90.9 90.9% 30 / 33 100.0% 4 / 4 60.0% 3 / 5
index/centroid_page.c 100.0 100.0% 43 / 43 100.0% 4 / 4 100.0% 4 / 4
index/centroid_page.h 94.4 94.4% 84 / 89 96.2% 25 / 26 70.4% 19 / 27
index/centroid_search.c 84.7 84.7% 321 / 379 100.0% 7 / 7 73.8% 138 / 187
index/index_base.h 75.0 75.0% 12 / 16 100.0% 4 / 4 85.0% 17 / 20
index/index_build.c 91.5 91.5% 444 / 485 97.1% 33 / 34 74.4% 189 / 254
index/index_build.h 100.0 100.0% 14 / 14 100.0% 4 / 4 73.1% 19 / 26
index/parallel_build.h 95.2 95.2% 60 / 63 85.0% 17 / 20 76.0% 19 / 25
index/parallel_build_leader.c 96.4 96.4% 323 / 335 100.0% 5 / 5 76.2% 99 / 130
index/parallel_build_worker.c 99.4 99.4% 340 / 342 100.0% 12 / 12 92.2% 118 / 128
index/posting_build.c 91.1 91.1% 607 / 666 98.0% 48 / 49 78.3% 199 / 254
index/posting_build.h 100.0 100.0% 35 / 35 100.0% 3 / 3 75.0% 3 / 4
index/posting_convert.c 92.9 92.9% 65 / 70 100.0% 2 / 2 82.6% 19 / 23
index/posting_insert.c 96.9 96.9% 158 / 163 100.0% 2 / 2 88.5% 92 / 104
index/posting_page.c 90.1 90.1% 163 / 181 89.5% 17 / 19 66.3% 65 / 98
index/posting_page.h 100.0 100.0% 177 / 177 100.0% 56 / 56 90.4% 142 / 157
index/posting_scan.c 92.7 92.7% 380 / 410 95.0% 19 / 20 79.8% 253 / 317
index/posting_split.c 95.1 95.1% 404 / 425 100.0% 18 / 18 84.8% 217 / 256
index/posting_split.h 92.0 92.0% 23 / 25 100.0% 3 / 3 77.8% 7 / 9
index/query_scan.c 95.5 95.5% 300 / 314 100.0% 16 / 16 82.9% 126 / 152
index/storage.h 95.5 95.5% 21 / 22 100.0% 8 / 8 62.5% 5 / 8
pg/amcache.c 95.7 95.7% 179 / 187 100.0% 12 / 12 74.2% 46 / 62
pg/bufstorage.c 81.0 81.0% 201 / 248 94.1% 16 / 17 63.7% 65 / 102
pg/build.c 96.8 96.8% 450 / 465 100.0% 14 / 14 72.8% 158 / 217
pg/build_progress.c 97.2 97.2% 103 / 106 100.0% 10 / 10 84.8% 39 / 46
pg/cost.c 98.2 98.2% 165 / 168 100.0% 10 / 10 81.7% 58 / 71
pg/explain.c 91.5 91.5% 43 / 47 100.0% 2 / 2 72.2% 13 / 18
pg/iam_handler.c 95.9 95.9% 188 / 196 91.7% 11 / 12 66.3% 57 / 86
pg/inspect.c 94.0 94.0% 391 / 416 100.0% 18 / 18 83.7% 154 / 184
pg/maintenance.c 95.6 95.6% 349 / 365 100.0% 30 / 30 73.5% 125 / 170
pg/meta.h 100.0 100.0% 6 / 6 -% 0 / 0 100.0% 4 / 4
pg/parallel_backend.c 98.0 98.0% 398 / 406 100.0% 34 / 34 64.8% 57 / 88
pg/rabitq_params_pg.c 97.1 97.1% 34 / 35 100.0% 10 / 10 33.3% 2 / 6
pg/rabitq_pg.c 96.7 96.7% 148 / 153 100.0% 31 / 31 62.2% 51 / 82
pg/scan.c 89.8 89.8% 193 / 215 86.7% 13 / 15 66.3% 57 / 86
pg/scan_bound.c 86.5 86.5% 83 / 96 100.0% 10 / 10 59.4% 57 / 96
pg/support_pg.c 97.5 97.5% 78 / 80 100.0% 19 / 19 60.7% 17 / 28
pg/typeinfo.c 88.9 88.9% 16 / 18 85.7% 6 / 7 100.0% 2 / 2
pg/typeinfo.h 92.9 92.9% 13 / 14 100.0% 2 / 2 50.0% 3 / 6
pg/vec16_pg.c 93.2 93.2% 221 / 237 97.7% 42 / 43 62.0% 88 / 142
pg/vec32_pg.c 93.6 93.6% 204 / 218 97.6% 40 / 41 67.3% 70 / 104
quant/fast_rotate.c 57.5 57.5% 146 / 254 63.6% 7 / 11 56.2% 99 / 176
quant/fastscan.c 93.3 93.3% 277 / 297 94.4% 17 / 18 66.9% 121 / 181
quant/fastscan.h 100.0 100.0% 4 / 4 100.0% 1 / 1 -% 0 / 0
quant/fastscan_avx2.c 96.0 96.0% 48 / 50 100.0% 4 / 4 100.0% 10 / 10
quant/fastscan_avx512.c 97.6 97.6% 165 / 169 100.0% 5 / 5 85.4% 41 / 48
quant/matrix.c 84.1 84.1% 191 / 227 72.7% 16 / 22 84.1% 111 / 132
quant/rabitq.c 82.2 82.2% 499 / 607 88.5% 46 / 52 59.0% 232 / 393
quant/rabitq.h 100.0 100.0% 8 / 8 100.0% 3 / 3 100.0% 2 / 2
quant/rabitq_avx2.c 85.2 85.2% 92 / 108 85.7% 6 / 7 66.7% 24 / 36
quant/rabitq_avx512.c 100.0 100.0% 94 / 94 100.0% 5 / 5 100.0% 36 / 36
standalone/api.c 81.4 81.4% 70 / 86 100.0% 8 / 8 65.2% 30 / 46
standalone/barrier.c 100.0 100.0% 47 / 47 100.0% 6 / 6 87.5% 7 / 8
standalone/index.c 88.0 88.0% 336 / 382 94.4% 17 / 18 73.9% 105 / 142
standalone/instr_time.h 100.0 100.0% 4 / 4 100.0% 1 / 1 -% 0 / 0
standalone/latch.c 90.5 90.5% 38 / 42 100.0% 5 / 5 61.1% 11 / 18
standalone/memory_sa.c 98.2 98.2% 160 / 163 100.0% 20 / 20 82.1% 46 / 56
standalone/parallel_backend.c 97.3 97.3% 329 / 338 94.6% 35 / 37 90.7% 49 / 54
standalone/parallel_ctx.c 90.1 90.1% 64 / 71 100.0% 11 / 11 62.5% 10 / 16
standalone/parallel_scan.c 100.0 100.0% 21 / 21 100.0% 2 / 2 100.0% 6 / 6
standalone/pg_compat.h 100.0 100.0% 36 / 36 100.0% 10 / 10 100.0% 2 / 2
standalone/query.c 88.6 88.6% 147 / 166 100.0% 6 / 6 69.0% 58 / 84
standalone/shm_toc.c 83.0 83.0% 44 / 53 100.0% 6 / 6 70.0% 14 / 20
standalone/thread_pool.c 100.0 100.0% 122 / 122 100.0% 9 / 9 96.4% 54 / 56
standalone/vec32_source.c 81.0 81.0% 17 / 21 66.7% 2 / 3 100.0% 2 / 2
types/vec16.c 93.0 93.0% 40 / 43 100.0% 6 / 6 77.3% 17 / 22
types/vec16.h 100.0 100.0% 96 / 96 100.0% 16 / 16 86.7% 26 / 30
types/vec32.c 95.6 95.6% 43 / 45 100.0% 9 / 9 88.9% 16 / 18
types/vec32.h 100.0 100.0% 34 / 34 100.0% 7 / 7 40.0% 8 / 20