LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: OpenSDN C/C++ source coverage (merged) Lines: 323027 846193 38.2 %
Date: 2026-04-17 14:11:04 Functions: 59830 105596 56.7 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Directory Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
build/debug/analytics
32.4%32.4%
32.4 % 11354 / 35056 5.4 % 62 / 1149
build/debug/analytics/ruleparser
67.8%67.8%
67.8 % 137 / 202 100.0 % 2 / 2
build/debug/base/sandesh
8.0%8.0%
8.0 % 443 / 5523 22.9 % 95 / 414
build/debug/bgp
9.9%9.9%
9.9 % 6187 / 62240 38.9 % 1547 / 3976
build/debug/bgp/routing-instance
7.2%7.2%
7.2 % 2116 / 29203 30.4 % 435 / 1433
build/debug/bgp/routing-policy
7.4%7.4%
7.4 % 66 / 891 41.3 % 31 / 75
build/debug/config-client-mgr
5.4%5.4%
5.4 % 469 / 8705 17.3 % 97 / 561
build/debug/control-node/sandesh
39.7%39.7%
39.7 % 588 / 1481 72.6 % 69 / 95
build/debug/database
38.2%38.2%
38.2 % 276 / 722 78.2 % 43 / 55
build/debug/database/cassandra/cql
30.3%30.3%
30.3 % 297 / 980 59.3 % 32 / 54
build/debug/db
33.3%33.3%
33.3 % 37 / 111 62.5 % 5 / 8
build/debug/dns/bind
10.2%10.2%
10.2 % 48 / 471 28.6 % 12 / 42
build/debug/dns/cmn
1.5%1.5%
1.5 % 80 / 5400 5.3 % 24 / 453
build/debug/ifmap
2.5%2.5%
2.5 % 709 / 27968 10.3 % 209 / 2025
build/debug/io
6.7%6.7%
6.7 % 232 / 3486 15.0 % 32 / 214
build/debug/ksync
3.0%3.0%
3.0 % 24 / 795 13.6 % 6 / 44
build/debug/query_engine
2.0%2.0%
2.0 % 121 / 6137 7.2 % 32 / 443
build/debug/sandesh/common
20.4%20.4%
20.4 % 573 / 2805 3.8 % 5 / 130
build/debug/schema
29.3%29.3%
29.3 % 15312 / 52263 33.3 % 2114 / 6349
build/debug/schema/test
36.9%36.9%
36.9 % 385 / 1044 38.8 % 83 / 214
build/debug/tools/sandesh/compiler
61.9%61.9%
61.9 % 271 / 438 100.0 % 2 / 2
build/debug/tools/sandesh/library/common
14.1%14.1%
14.1 % 1417 / 10080 11.6 % 72 / 619
build/debug/vnsw/agent/cmn
0.1%0.1%
0.1 % 2 / 1802 0.7 % 1 / 151
build/debug/vnsw/agent/controller
1.0%1.0%
1.0 % 57 / 5453 5.0 % 18 / 358
build/debug/vnsw/agent/diag
1.4%1.4%
1.4 % 43 / 3052 5.7 % 15 / 262
build/debug/vnsw/agent/kstate
1.7%1.7%
1.7 % 182 / 11008 10.4 % 86 / 825
build/debug/vnsw/agent/mac_learning
0.0%
0.0 % 0 / 1566 0.0 % 0 / 119
build/debug/vnsw/agent/oper
0.7%0.7%
0.7 % 396 / 58043 3.1 % 135 / 4366
build/debug/vnsw/agent/pkt
0.3%0.3%
0.3 % 42 / 13534 1.5 % 14 / 909
build/debug/vnsw/agent/port_ipc
0.1%0.1%
0.1 % 2 / 4072 0.3 % 1 / 292
build/debug/vnsw/agent/resource_manager
0.1%0.1%
0.1 % 2 / 3837 0.3 % 1 / 309
build/debug/vnsw/agent/services
0.5%0.5%
0.5 % 89 / 17049 2.8 % 38 / 1335
build/debug/vnsw/agent/test
17.8%17.8%
17.8 % 80 / 449 17.2 % 17 / 99
build/debug/vnsw/agent/uve
1.6%1.6%
1.6 % 353 / 21871 12.6 % 195 / 1542
build/debug/vnsw/agent/vrouter/flow_stats
0.4%0.4%
0.4 % 14 / 3630 1.8 % 5 / 280
build/debug/vnsw/agent/vrouter/ksync
5.0%5.0%
5.0 % 263 / 5216 24.8 % 88 / 355
build/debug/vnsw/agent/vrouter/stats_collector
2.4%2.4%
2.4 % 14 / 583 6.8 % 5 / 74
build/debug/vrouter/sandesh
19.7%19.7%
19.7 % 3482 / 17649 29.2 % 234 / 800
build/debug/xmpp/sandesh
4.7%4.7%
4.7 % 1318 / 27858 16.6 % 226 / 1361
build/include/SimpleAmqpClient
0.0%
0.0 % 0 / 1 0.0 % 0 / 1
build/include/bgp/inet
0.0%
0.0 % 0 / 5 0.0 % 0 / 3
build/include/bgp/l3vpn
0.0%
0.0 % 0 / 6 0.0 % 0 / 4
build/include/config-client-mgr
94.9%94.9%
94.9 % 37 / 39 88.2 % 15 / 17
build/include/database
72.3%72.3%
72.3 % 34 / 47 71.4 % 10 / 14
build/include/gmock
68.1%68.1%
68.1 % 580 / 852 61.2 % 1294 / 2113
build/include/gmock/internal
50.0%50.0%
50.0 % 10 / 20 7.8 % 4 / 51
build/include/gtest
74.2%74.2%
74.2 % 170 / 229 29.4 % 1139 / 3874
build/include/gtest/internal
78.3%78.3%
78.3 % 934 / 1193 97.1 % 12437 / 12804
build/include/http
92.7%92.7%
92.7 % 38 / 41 85.7 % 12 / 14
build/include/log4cplus
50.0%50.0%
50.0 % 2 / 4 50.0 % 1 / 2
build/include/log4cplus/helpers
100.0%
100.0 % 17 / 17 100.0 % 5 / 5
build/include/net
0.0%
0.0 % 0 / 3 0.0 % 0 / 1
build/include/pugixml
100.0%
100.0 % 10 / 10 100.0 % 3 / 3
build/include/sandesh
44.6%44.6%
44.6 % 695 / 1560 42.7 % 993 / 2324
build/include/sandesh/common
100.0%
100.0 % 137 / 137 89.8 % 53 / 59
build/include/sandesh/protocol
38.0%38.0%
38.0 % 207 / 545 38.0 % 119 / 313
build/include/sandesh/transport
57.0%57.0%
57.0 % 86 / 151 52.0 % 26 / 50
controller/lib/boost/asio
0.0%
0.0 % 0 / 20 0.0 % 0 / 10
controller/src/bfd
89.9%89.9%
89.9 % 659 / 733 92.3 % 131 / 142
controller/src/bfd/rest_api
33.1%33.1%
33.1 % 58 / 175 41.7 % 10 / 24
controller/src/bfd/rest_api/test
100.0%
100.0 % 72 / 72 100.0 % 27 / 27
controller/src/bfd/test
98.4%98.4%
98.4 % 799 / 812 93.3 % 70 / 75
controller/src/bgp
92.5%92.5%
92.5 % 21760 / 23517 94.8 % 3667 / 3869
controller/src/bgp/ermvpn
96.6%96.6%
96.6 % 365 / 378 98.4 % 62 / 63
controller/src/bgp/ermvpn/test
99.9%99.9%
99.9 % 1251 / 1252 99.4 % 174 / 175
controller/src/bgp/evpn
92.1%92.1%
92.1 % 1102 / 1197 98.8 % 84 / 85
controller/src/bgp/evpn/test
99.9%99.9%
99.9 % 4838 / 4839 99.8 % 497 / 498
controller/src/bgp/extended-community
90.5%90.5%
90.5 % 684 / 756 92.4 % 121 / 131
controller/src/bgp/extended-community/test
100.0%
100.0 % 1159 / 1159 100.0 % 278 / 278
controller/src/bgp/inet
90.3%90.3%
90.3 % 334 / 370 100.0 % 48 / 48
controller/src/bgp/inet/test
98.8%98.8%
98.8 % 316 / 320 100.0 % 52 / 52
controller/src/bgp/inet6
91.9%91.9%
91.9 % 227 / 247 98.0 % 49 / 50
controller/src/bgp/inet6/test
98.7%98.7%
98.7 % 313 / 317 100.0 % 43 / 43
controller/src/bgp/inet6vpn
96.8%96.8%
96.8 % 240 / 248 97.5 % 39 / 40
controller/src/bgp/inet6vpn/test
100.0%
100.0 % 688 / 688 100.0 % 101 / 101
controller/src/bgp/l3vpn
96.0%96.0%
96.0 % 237 / 247 100.0 % 39 / 39
controller/src/bgp/l3vpn/test
97.8%97.8%
97.8 % 942 / 963 84.8 % 112 / 132
controller/src/bgp/large-community
83.3%83.3%
83.3 % 25 / 30 85.7 % 6 / 7
controller/src/bgp/large-community/test
100.0%
100.0 % 23 / 23 100.0 % 9 / 9
controller/src/bgp/mvpn
91.6%91.6%
91.6 % 977 / 1067 100.0 % 98 / 98
controller/src/bgp/mvpn/test
99.3%99.3%
99.3 % 869 / 875 100.0 % 160 / 160
controller/src/bgp/origin-vn
97.8%97.8%
97.8 % 87 / 89 100.0 % 12 / 12
controller/src/bgp/origin-vn/test
100.0%
100.0 % 238 / 238 100.0 % 59 / 59
controller/src/bgp/routing-instance
94.5%94.5%
94.5 % 5230 / 5537 95.7 % 1123 / 1174
controller/src/bgp/routing-policy
94.8%94.8%
94.8 % 968 / 1021 94.7 % 177 / 187
controller/src/bgp/rtarget
97.6%97.6%
97.6 % 245 / 251 95.8 % 46 / 48
controller/src/bgp/rtarget/test
100.0%
100.0 % 600 / 600 100.0 % 129 / 129
controller/src/bgp/security_group
74.6%74.6%
74.6 % 47 / 63 75.0 % 12 / 16
controller/src/bgp/test
97.0%97.0%
97.0 % 83158 / 85758 94.6 % 9928 / 10494
controller/src/bgp/tunnel_encap
97.2%97.2%
97.2 % 35 / 36 100.0 % 8 / 8
controller/src/bgp/tunnel_encap/test
100.0%
100.0 % 168 / 168 100.0 % 53 / 53
controller/src/control-node
88.6%88.6%
88.6 % 451 / 509 94.2 % 49 / 52
controller/src/control-node/test
93.2%93.2%
93.2 % 1678 / 1800 78.6 % 268 / 341
controller/src/db
88.0%88.0%
88.0 % 1306 / 1484 85.9 % 311 / 362
controller/src/db/test
86.4%86.4%
86.4 % 152 / 176 75.0 % 24 / 32
controller/src/dns/agent
0.0%
0.0 % 0 / 210 0.0 % 0 / 23
controller/src/dns/bind
60.6%60.6%
60.6 % 846 / 1396 68.1 % 94 / 138
controller/src/dns/cfg
87.5%87.5%
87.5 % 456 / 521 95.1 % 58 / 61
controller/src/dns/cmn
90.6%90.6%
90.6 % 318 / 351 93.0 % 53 / 57
controller/src/dns/mgr
47.4%47.4%
47.4 % 657 / 1387 68.2 % 107 / 157
controller/src/dns/test
99.8%99.8%
99.8 % 1016 / 1018 100.0 % 67 / 67
controller/src/ifmap
57.4%57.4%
57.4 % 3118 / 5433 69.0 % 525 / 761
controller/src/ifmap/client
73.5%73.5%
73.5 % 189 / 257 80.8 % 21 / 26
controller/src/ifmap/client/test
86.6%86.6%
86.6 % 1343 / 1550 88.9 % 128 / 144
controller/src/ifmap/test
70.0%70.0%
70.0 % 2379 / 3399 76.5 % 228 / 298
controller/src/ksync
43.6%43.6%
43.6 % 1613 / 3698 46.6 % 271 / 581
controller/src/ksync/test
99.3%99.3%
99.3 % 1369 / 1379 97.8 % 177 / 181
controller/src/net
94.0%94.0%
94.0 % 500 / 532 90.6 % 77 / 85
controller/src/net/test
100.0%
100.0 % 896 / 896 100.0 % 242 / 242
controller/src/route
100.0%
100.0 % 38 / 38 86.7 % 13 / 15
controller/src/sandesh/common
6.1%6.1%
6.1 % 11 / 180 33.3 % 2 / 6
controller/src/vnsw/agent/cfg
34.5%34.5%
34.5 % 294 / 851 47.3 % 43 / 91
controller/src/vnsw/agent/cmn
63.8%63.8%
63.8 % 1175 / 1841 57.3 % 446 / 778
controller/src/vnsw/agent/cmn/test
87.7%87.7%
87.7 % 613 / 699 85.2 % 138 / 162
controller/src/vnsw/agent/controller
12.0%12.0%
12.0 % 524 / 4379 27.6 % 102 / 370
controller/src/vnsw/agent/diag
1.5%1.5%
1.5 % 22 / 1511 4.5 % 6 / 133
controller/src/vnsw/agent/diag/test
96.3%96.3%
96.3 % 158 / 164 87.5 % 14 / 16
controller/src/vnsw/agent/filter
3.7%3.7%
3.7 % 81 / 2162 13.5 % 39 / 289
controller/src/vnsw/agent/filter/test
98.0%98.0%
98.0 % 1547 / 1579 94.3 % 133 / 141
controller/src/vnsw/agent/init
71.9%71.9%
71.9 % 1645 / 2289 77.4 % 277 / 358
controller/src/vnsw/agent/init/test
98.6%98.6%
98.6 % 574 / 582 98.6 % 68 / 69
controller/src/vnsw/agent/kstate
0.0%
0.0 % 0 / 1489 0.0 % 0 / 121
controller/src/vnsw/agent/kstate/test
81.9%81.9%
81.9 % 1313 / 1603 83.7 % 175 / 209
controller/src/vnsw/agent/mac_learning
32.7%32.7%
32.7 % 591 / 1806 43.6 % 134 / 307
controller/src/vnsw/agent/mac_learning/test
98.5%98.5%
98.5 % 2832 / 2874 100.0 % 222 / 222
controller/src/vnsw/agent/nexthop_server
0.0%
0.0 % 0 / 186 0.0 % 0 / 30
controller/src/vnsw/agent/oper
24.7%24.7%
24.7 % 8171 / 33022 36.7 % 1804 / 4916
controller/src/vnsw/agent/oper/nix
0.0%
0.0 % 0 / 32 0.0 % 0 / 4
controller/src/vnsw/agent/oper/test
95.4%95.4%
95.4 % 13326 / 13975 89.8 % 1033 / 1150
controller/src/vnsw/agent/pkt
10.9%10.9%
10.9 % 913 / 8341 22.0 % 186 / 844
controller/src/vnsw/agent/pkt/flow_mgmt
49.1%49.1%
49.1 % 737 / 1502 55.1 % 177 / 321
controller/src/vnsw/agent/pkt/test
94.0%94.0%
94.0 % 16073 / 17103 93.6 % 1341 / 1433
controller/src/vnsw/agent/port_ipc
4.3%4.3%
4.3 % 67 / 1570 11.6 % 22 / 190
controller/src/vnsw/agent/port_ipc/nix
0.0%
0.0 % 0 / 3 0.0 % 0 / 1
controller/src/vnsw/agent/port_ipc/test
97.9%97.9%
97.9 % 139 / 142 95.7 % 22 / 23
controller/src/vnsw/agent/resource_manager
17.2%17.2%
17.2 % 186 / 1082 21.8 % 62 / 285
controller/src/vnsw/agent/resource_manager/test
80.8%80.8%
80.8 % 214 / 265 72.4 % 21 / 29
controller/src/vnsw/agent/services
1.5%1.5%
1.5 % 127 / 8660 6.4 % 65 / 1016
controller/src/vnsw/agent/services/multicast/agent_map
56.2%56.2%
56.2 % 196 / 349 62.7 % 37 / 59
controller/src/vnsw/agent/services/multicast/gmp_map
1.1%1.1%
1.1 % 9 / 817 4.6 % 4 / 87
controller/src/vnsw/agent/services/multicast/grpmgmt
62.0%62.0%
62.0 % 2571 / 4146 76.4 % 292 / 382
controller/src/vnsw/agent/services/multicast/stubs/bitvector
71.1%71.1%
71.1 % 384 / 540 89.1 % 41 / 46
controller/src/vnsw/agent/services/nix
0.0%
0.0 % 0 / 30 0.0 % 0 / 1
controller/src/vnsw/agent/services/nix/linux
0.0%
0.0 % 0 / 240 0.0 % 0 / 29
controller/src/vnsw/agent/services/test
94.1%94.1%
94.1 % 7945 / 8443 93.2 % 449 / 482
controller/src/vnsw/agent/test
79.3%79.3%
79.3 % 20271 / 25566 68.5 % 1195 / 1745
controller/src/vnsw/agent/test-xml
0.0%
0.0 % 0 / 1896 0.0 % 0 / 304
controller/src/vnsw/agent/test/linux
0.0%
0.0 % 0 / 57 0.0 % 0 / 5
controller/src/vnsw/agent/uve
14.2%14.2%
14.2 % 727 / 5129 22.1 % 116 / 525
controller/src/vnsw/agent/uve/test
90.9%90.9%
90.9 % 4990 / 5491 77.7 % 345 / 444
controller/src/vnsw/agent/vgw
8.5%8.5%
8.5 % 27 / 319 22.2 % 12 / 54
controller/src/vnsw/agent/vgw/test
93.1%93.1%
93.1 % 488 / 524 95.1 % 39 / 41
controller/src/vnsw/agent/vrouter/flow_stats
9.8%9.8%
9.8 % 241 / 2454 15.7 % 48 / 306
controller/src/vnsw/agent/vrouter/flow_stats/test
99.2%99.2%
99.2 % 118 / 119 92.9 % 13 / 14
controller/src/vnsw/agent/vrouter/ksync
32.5%32.5%
32.5 % 1969 / 6065 40.0 % 265 / 663
controller/src/vnsw/agent/vrouter/ksync/linux
2.5%2.5%
2.5 % 5 / 204 20.0 % 3 / 15
controller/src/vnsw/agent/vrouter/ksync/test
99.0%99.0%
99.0 % 863 / 872 98.0 % 96 / 98
controller/src/vnsw/agent/vrouter/stats_collector
5.9%5.9%
5.9 % 20 / 337 11.1 % 6 / 54
controller/src/xml
37.6%37.6%
37.6 % 86 / 229 50.0 % 25 / 50
controller/src/xmpp
84.3%84.3%
84.3 % 2715 / 3222 90.7 % 496 / 547
controller/src/xmpp/test
96.7%96.7%
96.7 % 2241 / 2318 94.7 % 341 / 360
src/contrail-analytics/contrail-collector
31.2%31.2%
31.2 % 1973 / 6330 29.4 % 166 / 565
src/contrail-analytics/contrail-collector/ruleparser
54.8%54.8%
54.8 % 373 / 681 71.4 % 65 / 91
src/contrail-analytics/contrail-collector/ruleparser/test
78.3%78.3%
78.3 % 141 / 180 90.9 % 20 / 22
src/contrail-analytics/contrail-collector/test
90.4%90.4%
90.4 % 1777 / 1965 84.7 % 211 / 249
src/contrail-analytics/contrail-query-engine
64.3%64.3%
64.3 % 3274 / 5088 72.9 % 175 / 240
src/contrail-analytics/contrail-query-engine/test
96.0%96.0%
96.0 % 824 / 858 89.8 % 88 / 98
src/contrail-api-client/schema/test
99.4%99.4%
99.4 % 323 / 325 100.0 % 31 / 31
src/contrail-common/base
73.1%73.1%
73.1 % 3907 / 5346 74.6 % 4515 / 6050
src/contrail-common/base/linux
0.0%
0.0 % 0 / 52 0.0 % 0 / 4
src/contrail-common/base/test
73.9%73.9%
73.9 % 85 / 115 78.9 % 15 / 19
src/contrail-common/config-client-mgr
83.0%83.0%
83.0 % 1225 / 1476 79.7 % 161 / 202
src/contrail-common/config-client-mgr/test
81.9%81.9%
81.9 % 479 / 585 88.0 % 95 / 108
src/contrail-common/database
69.1%69.1%
69.1 % 235 / 340 71.8 % 56 / 78
src/contrail-common/database/cassandra/cql
35.8%35.8%
35.8 % 775 / 2166 49.5 % 144 / 291
src/contrail-common/database/test
96.5%96.5%
96.5 % 412 / 427 98.8 % 81 / 82
src/contrail-common/http
81.8%81.8%
81.8 % 220 / 269 79.6 % 39 / 49
src/contrail-common/http/client
0.5%0.5%
0.5 % 3 / 613 2.8 % 3 / 107
src/contrail-common/io
76.3%76.3%
76.3 % 1309 / 1715 80.6 % 212 / 263
src/contrail-common/io/nix
72.2%72.2%
72.2 % 13 / 18 66.7 % 2 / 3
src/contrail-common/io/test
100.0%
100.0 % 17 / 17 100.0 % 4 / 4
src/contrail-common/sandesh/compiler
56.6%56.6%
56.6 % 909 / 1607 71.0 % 22 / 31
src/contrail-common/sandesh/compiler/generate
57.7%57.7%
57.7 % 6362 / 11023 61.7 % 301 / 488
src/contrail-common/sandesh/compiler/parse
73.6%73.6%
73.6 % 657 / 893 79.0 % 203 / 257
src/contrail-common/sandesh/library/cpp
60.2%60.2%
60.2 % 2346 / 3896 69.4 % 424 / 611
src/contrail-common/sandesh/library/cpp/protocol
35.8%35.8%
35.8 % 598 / 1671 45.9 % 90 / 196
src/contrail-common/sandesh/library/cpp/transport
14.2%14.2%
14.2 % 36 / 254 9.4 % 6 / 64
src/contrail-common/zookeeper
0.0%
0.0 % 0 / 261 0.0 % 0 / 53
vrouter/utils
6.9%6.9%
6.9 % 78 / 1130 9.1 % 10 / 110

Generated by: LCOV version 1.14