GCC Code Coverage Report


Directory: src/
Date: 2026-12-02 08:48:18
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 13450 14568 92.3%
Functions: 1130 1174 96.3%
Branches: 5459 7379 74.0%

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 92.8 92.8% 272 / 293 100.0% 12 / 12 84.4% 119 / 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.9% 242 / 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.7 96.7% 237 / 245 100.0% 13 / 13 85.2% 98 / 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 92.2 92.2% 509 / 552 97.4% 37 / 38 75.5% 210 / 278
index/index_build.h 100.0 100.0% 14 / 14 100.0% 4 / 4 75.0% 18 / 24
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 75.4% 98 / 130
index/parallel_build_worker.c 99.1 99.1% 340 / 343 100.0% 12 / 12 92.2% 118 / 128
index/posting_build.c 90.8 90.8% 641 / 706 96.0% 48 / 50 78.5% 234 / 298
index/posting_build.h 100.0 100.0% 36 / 36 100.0% 3 / 3 75.0% 3 / 4
index/posting_convert.c 93.1 93.1% 67 / 72 100.0% 2 / 2 82.6% 19 / 23
index/posting_insert.c 96.9 96.9% 156 / 161 100.0% 2 / 2 88.3% 91 / 103
index/posting_page.c 91.0 91.0% 183 / 201 90.9% 20 / 22 69.0% 80 / 116
index/posting_page.h 100.0 100.0% 198 / 198 100.0% 60 / 60 90.6% 154 / 170
index/posting_scan.c 92.8 92.8% 402 / 433 95.0% 19 / 20 80.1% 285 / 356
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.2% 125 / 152
index/storage.h 95.5 95.5% 21 / 22 100.0% 8 / 8 62.5% 5 / 8
pg/amcache.c 95.9 95.9% 185 / 193 100.0% 12 / 12 75.8% 50 / 66
pg/bufstorage.c 81.0 81.0% 201 / 248 94.1% 16 / 17 63.7% 65 / 102
pg/build.c 96.4 96.4% 428 / 444 100.0% 14 / 14 71.3% 149 / 209
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% 166 / 169 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.1 94.1% 402 / 427 100.0% 18 / 18 83.9% 156 / 186
pg/library_guard.h 100.0 100.0% 17 / 17 100.0% 2 / 2 95.0% 19 / 20
pg/maintenance.c 95.6 95.6% 351 / 367 100.0% 30 / 30 73.5% 125 / 170
pg/meta.h 100.0 100.0% 17 / 17 100.0% 1 / 1 91.7% 11 / 12
pg/parallel_backend.c 98.0 98.0% 399 / 407 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 88.9 88.9% 88 / 99 100.0% 10 / 10 61.9% 60 / 97
pg/support_pg.c 96.9 96.9% 94 / 97 100.0% 23 / 23 56.2% 18 / 32
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.4 93.4% 228 / 244 97.7% 43 / 44 62.3% 91 / 146
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 84.8 84.8% 78 / 92 100.0% 9 / 9 76.0% 38 / 50
standalone/barrier.c 100.0 100.0% 47 / 47 100.0% 6 / 6 87.5% 7 / 8
standalone/index.c 90.2 90.2% 450 / 499 95.2% 20 / 21 76.0% 152 / 200
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.4 97.4% 334 / 343 94.6% 35 / 37 90.0% 54 / 60
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% 148 / 167 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 95.7 95.7% 67 / 70 100.0% 9 / 9 81.0% 34 / 42
types/vec16.h 100.0 100.0% 123 / 123 100.0% 17 / 17 92.3% 48 / 52
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