GCC Code Coverage Report


Directory: src/
Date: 2026-09-30 11:11:31
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 11809 12943 91.2%
Functions: 1025 1069 95.9%
Branches: 4439 6235 71.2%

File Lines Functions Branches
algo/distance.c 79.5 79.5% 120 / 151 100.0% 17 / 17 61.6% 101 / 164
algo/distance_avx2.c 97.1 97.1% 134 / 138 100.0% 6 / 6 78.4% 91 / 116
algo/hkmeans.c 92.1 92.1% 267 / 290 100.0% 12 / 12 85.6% 119 / 139
algo/hkmeans.h 100.0 100.0% 6 / 6 100.0% 3 / 3 75.0% 3 / 4
algo/kmeans.c 90.2 90.2% 406 / 450 93.9% 31 / 33 55.3% 242 / 438
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 74.6% 85 / 114
algo/kmeans_hamerly.c 88.6 88.6% 155 / 175 100.0% 8 / 8 71.1% 64 / 90
algo/kmeans_internal.h 100.0 100.0% 3 / 3 -% 0 / 0 45.0% 27 / 60
algo/kmeans_lloyd.c 96.3 96.3% 235 / 244 100.0% 13 / 13 83.3% 95 / 114
algo/simd_utils.h 77.8 77.8% 14 / 18 50.0% 2 / 4 -% 0 / 0
algo/topk.c 97.3 97.3% 252 / 259 100.0% 17 / 17 93.7% 134 / 143
algo/topk.h 100.0 100.0% 4 / 4 100.0% 1 / 1 100.0% 10 / 10
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.6 96.6% 28 / 29 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 75.4 75.4% 46 / 61 85.7% 6 / 7 45.7% 16 / 35
core/platform.h 100.0 100.0% 4 / 4 100.0% 2 / 2 50.0% 2 / 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 90.4 90.4% 103 / 114 100.0% 2 / 2 71.4% 40 / 56
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 85.6 85.6% 344 / 402 100.0% 8 / 8 73.8% 138 / 187
index/index_base.h 60.0 60.0% 6 / 10 100.0% 2 / 2 50.0% 3 / 6
index/index_build.c 91.5 91.5% 440 / 481 97.1% 33 / 34 74.6% 191 / 256
index/index_build.h 100.0 100.0% 14 / 14 100.0% 4 / 4 73.1% 19 / 26
index/parallel_build.h 95.1 95.1% 58 / 61 85.0% 17 / 20 89.5% 17 / 19
index/parallel_build_leader.c 96.0 96.0% 314 / 327 100.0% 5 / 5 73.6% 89 / 121
index/parallel_build_worker.c 99.4 99.4% 325 / 327 100.0% 12 / 12 92.1% 116 / 126
index/posting_build.c 88.8 88.8% 467 / 526 97.6% 40 / 41 71.7% 119 / 166
index/posting_build.h 100.0 100.0% 34 / 34 100.0% 4 / 4 83.3% 5 / 6
index/posting_convert.c 87.7 87.7% 50 / 57 100.0% 2 / 2 92.9% 13 / 14
index/posting_insert.c 95.0 95.0% 133 / 140 100.0% 2 / 2 85.1% 74 / 87
index/posting_page.c 94.2 94.2% 81 / 86 100.0% 7 / 7 70.0% 14 / 20
index/posting_page.h 100.0 100.0% 127 / 127 100.0% 41 / 41 87.7% 50 / 57
index/posting_scan.c 75.1 75.1% 232 / 309 84.6% 11 / 13 59.3% 102 / 172
index/posting_split.c 95.0 95.0% 400 / 421 100.0% 18 / 18 84.2% 213 / 253
index/posting_split.h 88.0 88.0% 22 / 25 100.0% 3 / 3 77.8% 7 / 9
index/query_scan.c 94.6 94.6% 262 / 277 100.0% 16 / 16 80.0% 100 / 125
index/storage.h 95.5 95.5% 21 / 22 100.0% 8 / 8 62.5% 5 / 8
pg/amcache.c 95.6 95.6% 173 / 181 100.0% 12 / 12 71.4% 40 / 56
pg/bufstorage.c 82.6 82.6% 199 / 241 94.1% 16 / 17 66.7% 68 / 102
pg/build.c 96.5 96.5% 440 / 456 100.0% 15 / 15 71.4% 152 / 213
pg/build_progress.c 98.1 98.1% 103 / 105 100.0% 10 / 10 85.7% 36 / 42
pg/cost.c 97.1 97.1% 165 / 170 100.0% 10 / 10 78.3% 65 / 83
pg/explain.c 91.5 91.5% 43 / 47 100.0% 2 / 2 66.7% 12 / 18
pg/iam_handler.c 95.8 95.8% 181 / 189 90.0% 9 / 10 67.6% 46 / 68
pg/inspect.c 94.4 94.4% 389 / 412 100.0% 18 / 18 81.2% 156 / 192
pg/maintenance.c 95.7 95.7% 330 / 345 100.0% 27 / 27 72.4% 110 / 152
pg/meta.h 100.0 100.0% 4 / 4 -% 0 / 0 -% 0 / 0
pg/parallel_backend.c 98.0 98.0% 392 / 400 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 90.0 90.0% 197 / 219 86.7% 13 / 15 68.6% 59 / 86
pg/scan_bound.c 85.7 85.7% 84 / 98 100.0% 10 / 10 59.2% 58 / 98
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.6 93.6% 221 / 236 97.7% 42 / 43 59.2% 84 / 142
pg/vec32_pg.c 93.6 93.6% 204 / 218 97.6% 40 / 41 67.3% 70 / 104
quant/fast_rotate.c 53.9 53.9% 137 / 254 63.6% 7 / 11 50.6% 89 / 176
quant/fastscan.c 91.4 91.4% 244 / 267 93.3% 14 / 15 67.3% 115 / 171
quant/fastscan.h 100.0 100.0% 4 / 4 100.0% 1 / 1 -% 0 / 0
quant/fastscan_avx2.c 100.0 100.0% 50 / 50 100.0% 4 / 4 100.0% 10 / 10
quant/matrix.c 73.8 73.8% 90 / 122 64.7% 11 / 17 70.0% 35 / 50
quant/rabitq.c 81.1 81.1% 492 / 607 88.5% 46 / 52 58.5% 230 / 393
quant/rabitq.h 100.0 100.0% 8 / 8 100.0% 3 / 3 100.0% 2 / 2
quant/rabitq_avx2.c 100.0 100.0% 108 / 108 100.0% 7 / 7 100.0% 36 / 36
standalone/api.c 81.7 81.7% 67 / 82 100.0% 8 / 8 64.3% 27 / 42
standalone/barrier.c 100.0 100.0% 47 / 47 100.0% 6 / 6 87.5% 7 / 8
standalone/index.c 83.4 83.4% 307 / 368 94.4% 17 / 18 69.9% 95 / 136
standalone/instr_time.h 100.0 100.0% 4 / 4 100.0% 1 / 1 -% 0 / 0
standalone/latch.c 95.2 95.2% 40 / 42 100.0% 5 / 5 66.7% 12 / 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% 328 / 337 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 89.2 89.2% 141 / 158 100.0% 5 / 5 70.5% 55 / 78
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