GCC Code Coverage Report
src/
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
6913 / 17055
40.5%
Branches:
5620 / 26591
21.1%
Functions:
773 / 1613
47.9%
List of functions
File
Lines
Branches
Functions
framework/op.cc
201 / 369
54.5%
218 / 763
28.6%
34 / 45
75.6%
framework/op.h
16 / 18
88.9%
-
7 / 8
87.5%
framework/pytorch/cache/bagpipe_bindings.cc
12 / 48
25.0%
28 / 164
17.1%
1 / 12
8.3%
framework/pytorch/cache/cache_bindings.cc
25 / 75
33.3%
21 / 70
30.0%
2 / 22
9.1%
framework/pytorch/cache/tensor_adapter.cc
42 / 89
47.2%
48 / 240
20.0%
6 / 10
60.0%
framework/pytorch/op_base.cc
48 / 90
53.3%
42 / 136
30.9%
5 / 13
38.5%
framework/pytorch/op_cuda_runtime_cpu.cc
0 / 8
0.0%
0 / 2
0.0%
0 / 4
0.0%
framework/pytorch/op_flat.cc
5 / 78
6.4%
3 / 160
1.9%
1 / 4
25.0%
framework/pytorch/op_internal.h
14 / 29
48.3%
10 / 38
26.3%
3 / 6
50.0%
framework/pytorch/op_prefetch.cc
26 / 27
96.3%
24 / 50
48.0%
4 / 4
100.0%
framework/pytorch/op_profile.cc
5 / 11
45.5%
3 / 6
50.0%
1 / 4
25.0%
framework/pytorch/op_sparse_gradient_commit.cc
5 / 30
16.7%
3 / 104
2.9%
1 / 5
20.0%
framework/pytorch/op_torch.cc
9 / 9
100.0%
-
1 / 1
100.0%
memory/allocators/benchmark_malloc.cc
0 / 115
0.0%
0 / 102
0.0%
0 / 7
0.0%
memory/allocators/concurrent_slab_memory_pool.h
242 / 317
76.3%
129 / 374
34.5%
42 / 50
84.0%
memory/allocators/persist_loop_slab_allocator.cc
130 / 171
76.0%
93 / 248
37.5%
8 / 11
72.7%
memory/allocators/persist_loop_slab_allocator.h
34 / 441
7.7%
13 / 624
2.1%
14 / 90
15.6%
memory/allocators/r2/allocator.hh
9 / 9
100.0%
1 / 2
50.0%
4 / 4
100.0%
memory/allocators/r2/allocator_master.hh
142 / 170
83.5%
60 / 142
42.3%
21 / 24
87.5%
memory/allocators/r2_slab_allocator.h
46 / 78
59.0%
30 / 130
23.1%
9 / 18
50.0%
memory/epoch_manager.h
0 / 33
0.0%
0 / 34
0.0%
0 / 12
0.0%
memory/malloc.h
36 / 64
56.2%
26 / 110
23.6%
12 / 20
60.0%
memory/pm_command.cc
0 / 12
0.0%
0 / 20
0.0%
0 / 1
0.0%
memory/shm_file.cc
82 / 124
66.1%
103 / 346
29.8%
9 / 11
81.8%
memory/shm_file.h
11 / 118
9.3%
0 / 206
0.0%
10 / 22
45.5%
optimizer/optimizer.cpp
231 / 514
44.9%
205 / 752
27.3%
11 / 19
57.9%
optimizer/optimizer.h
16 / 18
88.9%
3 / 4
75.0%
7 / 9
77.8%
optimizer/sparse_tensor.cpp
35 / 36
97.2%
9 / 16
56.2%
7 / 7
100.0%
optimizer/sparse_tensor.h
12 / 14
85.7%
4 / 12
33.3%
5 / 5
100.0%
ps/base/base_client.h
37 / 48
77.1%
32 / 64
50.0%
7 / 11
63.6%
ps/base/base_ps_server.h
0 / 1
0.0%
-
0 / 1
0.0%
ps/base/cache_ps_impl.h
87 / 304
28.6%
81 / 464
17.5%
9 / 22
40.9%
ps/base/dist_sharded_client.h
527 / 1134
46.5%
503 / 1954
25.7%
34 / 62
54.8%
ps/base/parameters.cpp
6 / 6
100.0%
2 / 4
50.0%
1 / 1
100.0%
ps/base/parameters.h
22 / 29
75.9%
11 / 16
68.8%
3 / 5
60.0%
ps/base/Postoffice.cc
0 / 19
0.0%
0 / 48
0.0%
0 / 1
0.0%
ps/base/Postoffice.h
0 / 6
0.0%
0 / 8
0.0%
0 / 4
0.0%
ps/base/shard_client.h
1 / 5
20.0%
-
1 / 3
33.3%
ps/base/sparse_gradient_commit.h
132 / 146
90.4%
136 / 220
61.8%
5 / 7
71.4%
ps/brpc/brpc_ps_client.cpp
227 / 380
59.7%
185 / 718
25.8%
17 / 24
70.8%
ps/brpc/brpc_ps_client.h
8 / 8
100.0%
3 / 6
50.0%
2 / 2
100.0%
ps/brpc/brpc_ps_server.cpp
15 / 376
4.0%
24 / 968
2.5%
2 / 21
9.5%
ps/brpc/brpc_ps_server.h
0 / 1
0.0%
-
0 / 1
0.0%
ps/brpc/dist_brpc_ps_client.h
3 / 3
100.0%
1 / 2
50.0%
1 / 1
100.0%
ps/grpc/dist_grpc_ps_client.h
3 / 3
100.0%
1 / 2
50.0%
1 / 1
100.0%
ps/grpc/grpc_ps_bench.cpp
0 / 59
0.0%
0 / 64
0.0%
0 / 6
0.0%
ps/grpc/grpc_ps_client.cpp
272 / 432
63.0%
195 / 750
26.0%
15 / 20
75.0%
ps/grpc/grpc_ps_client.h
25 / 25
100.0%
7 / 14
50.0%
4 / 4
100.0%
ps/grpc/grpc_ps_server.cpp
0 / 348
0.0%
0 / 1017
0.0%
0 / 17
0.0%
ps/ps_server.cpp
0 / 57
0.0%
0 / 156
0.0%
0 / 3
0.0%
ps/rdma/control_plane.cc
564 / 615
91.7%
664 / 1376
48.3%
47 / 47
100.0%
ps/rdma/control_plane.h
57 / 66
86.4%
51 / 78
65.4%
9 / 10
90.0%
ps/rdma/petps_client.cc
37 / 951
3.9%
22 / 1391
1.6%
7 / 57
12.3%
ps/rdma/petps_server.cc
0 / 1013
0.0%
0 / 1755
0.0%
0 / 47
0.0%
ps/rdma/raw_verbs_transport.cc
0 / 676
0.0%
0 / 750
0.0%
0 / 46
0.0%
ps/rdma/raw_verbs_transport.h
80 / 102
78.4%
50 / 91
54.9%
14 / 18
77.8%
ps/rdma/rc_transport.cc
0 / 686
0.0%
0 / 746
0.0%
0 / 62
0.0%
ps/rdma/rc_transport.h
0 / 7
0.0%
-
0 / 4
0.0%
ps/rdma/rdma_common.h
3 / 12
25.0%
2 / 6
33.3%
1 / 4
25.0%
ps/rdma/rdma_deployment.cc
188 / 210
89.5%
337 / 606
55.6%
7 / 8
87.5%
ps/rdma/rdma_distributed_executor.cc
0 / 458
0.0%
0 / 546
0.0%
0 / 31
0.0%
ps/rdma/rdma_protocol.h
98 / 169
58.0%
62 / 148
41.9%
14 / 23
60.9%
ps/rdma/rdma_ps_client_adapter.cc
78 / 460
17.0%
54 / 604
8.9%
10 / 38
26.3%
ps/rdma/rdma_ps_client_adapter.h
1 / 11
9.1%
0 / 4
0.0%
1 / 6
16.7%
ps/rdma/rdma_status.h
0 / 2
0.0%
-
0 / 1
0.0%
ps/rdma/shard_routing.h
0 / 63
0.0%
0 / 58
0.0%
0 / 5
0.0%
storage/allocator/ssd/ssd_block_allocator.h
14 / 15
93.3%
7 / 10
70.0%
3 / 3
100.0%
storage/allocator/ssd/ssd_buddy_allocator.h
121 / 124
97.6%
54 / 94
57.4%
14 / 14
100.0%
storage/allocator/ssd/ssd_slab_allocator.h
214 / 275
77.8%
110 / 250
44.0%
20 / 22
90.9%
storage/cache/cache.h
1 / 1
100.0%
-
1 / 1
100.0%
storage/cache/cache_factory.h
10 / 10
100.0%
10 / 16
62.5%
3 / 3
100.0%
storage/cache/lru/lru_cache.h
44 / 47
93.6%
32 / 50
64.0%
8 / 8
100.0%
storage/external/detable/detable_engine.cc
137 / 185
74.1%
88 / 254
34.6%
17 / 19
89.5%
storage/index/dram/extendible_hash.cpp
201 / 292
68.8%
116 / 230
50.4%
20 / 27
74.1%
storage/index/dram/extendible_hash.h
23 / 25
92.0%
10 / 18
55.6%
8 / 8
100.0%
storage/index/dram/extendible_hash_index.h
13 / 16
81.2%
1 / 2
50.0%
5 / 8
62.5%
storage/index/dram/pet_hash_index.h
34 / 36
94.4%
22 / 34
64.7%
7 / 8
87.5%
storage/index/dram/unordered_map_index.h
25 / 26
96.2%
15 / 22
68.2%
6 / 7
85.7%
storage/index/index.h
8 / 39
20.5%
2 / 36
5.6%
4 / 15
26.7%
storage/index/utils/hash.h
87 / 126
69.0%
14 / 24
58.3%
6 / 8
75.0%
storage/index/utils/pair.h
1 / 1
100.0%
-
1 / 1
100.0%
storage/index/utils/util.h
15 / 17
88.2%
3 / 4
75.0%
3 / 4
75.0%
storage/io_backend/force_link.h
3 / 3
100.0%
-
1 / 1
100.0%
storage/io_backend/io_backend.h
35 / 44
79.5%
16 / 30
53.3%
8 / 10
80.0%
storage/io_backend/iouring/io_uring_backend.cpp
114 / 202
56.4%
72 / 342
21.1%
18 / 26
69.2%
storage/kv_engine/base_kv.h
2 / 60
3.3%
0 / 38
0.0%
2 / 28
7.1%
storage/kv_engine/benchmark_kv_engine.cc
0 / 389
0.0%
0 / 1158
0.0%
0 / 25
0.0%
storage/kv_engine/engine_composite.h
585 / 811
72.1%
506 / 1292
39.2%
35 / 47
74.5%
storage/kv_engine/engine_petkv.h
0 / 31
0.0%
0 / 48
0.0%
0 / 5
0.0%
storage/kv_engine/engine_selector.h
13 / 13
100.0%
30 / 54
55.6%
1 / 1
100.0%
storage/kv_engine/kv_engine_register.cc
4 / 4
100.0%
-
1 / 1
100.0%
storage/nvm/pet_kv/persistence.h
10 / 10
100.0%
2 / 2
100.0%
3 / 3
100.0%
storage/nvm/pet_kv/pet_hash.h
167 / 489
34.2%
70 / 528
13.3%
27 / 67
40.3%
storage/nvm/pet_kv/pet_kv.cc
0 / 164
0.0%
0 / 408
0.0%
0 / 11
0.0%
storage/nvm/pet_kv/pet_kv.h
0 / 36
0.0%
0 / 44
0.0%
0 / 8
0.0%
storage/nvm/pet_kv/shm_common.h
8 / 21
38.1%
1 / 10
10.0%
1 / 7
14.3%
storage/ssd_layout/main.cc
0 / 82
0.0%
0 / 136
0.0%
0 / 3
0.0%
storage/ssd_layout/ssd_layout.cc
549 / 629
87.3%
482 / 884
54.5%
33 / 35
94.3%
storage/ssd_layout/ssd_layout.h
2 / 2
100.0%
2 / 4
50.0%
1 / 1
100.0%
storage/value_store/dram_value_store.h
128 / 183
69.9%
80 / 176
45.5%
17 / 22
77.3%
storage/value_store/hybrid_value_store.h
146 / 238
61.3%
133 / 380
35.0%
21 / 27
77.8%
storage/value_store/ssd_static_layout_value_store.h
182 / 228
79.8%
148 / 300
49.3%
22 / 26
84.6%
storage/value_store/ssd_value_store.h
93 / 119
78.2%
86 / 182
47.3%
10 / 13
76.9%
storage/value_store/value_store.h
19 / 56
33.9%
9 / 42
21.4%
9 / 18
50.0%