LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: OpenSDN C/C++ source coverage (merged) Lines: 339099 846101 40.1 %
Date: 2026-04-17 08:31:01 Functions: 62437 105570 59.1 %
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.6%2.6%
2.6 % 728 / 27968 10.6 % 215 / 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
21.1%21.1%
21.1 % 593 / 2805 15.4 % 20 / 130
build/debug/schema
29.5%29.5%
29.5 % 15431 / 52263 34.2 % 2170 / 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.4%14.4%
14.4 % 1456 / 10080 12.0 % 74 / 619
build/debug/vnsw/agent/cmn
0.1%0.1%
0.1 % 2 / 1802 0.7 % 1 / 151
build/debug/vnsw/agent/controller
1.7%1.7%
1.7 % 95 / 5453 8.4 % 30 / 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
1.2%1.2%
1.2 % 685 / 58043 5.2 % 226 / 4366
build/debug/vnsw/agent/pkt
1.5%1.5%
1.5 % 201 / 13534 6.8 % 62 / 909
build/debug/vnsw/agent/port_ipc
1.0%1.0%
1.0 % 40 / 4072 4.5 % 13 / 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.6%0.6%
0.6 % 108 / 17049 3.3 % 44 / 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 % 357 / 21871 12.8 % 198 / 1542
build/debug/vnsw/agent/vrouter/flow_stats
2.1%2.1%
2.1 % 78 / 3630 10.4 % 29 / 280
build/debug/vnsw/agent/vrouter/ksync
6.6%6.6%
6.6 % 345 / 5216 32.4 % 115 / 355
build/debug/vnsw/agent/vrouter/stats_collector
2.4%2.4%
2.4 % 14 / 583 6.8 % 5 / 74
build/debug/vrouter/sandesh
25.0%25.0%
25.0 % 4405 / 17649 38.6 % 309 / 800
build/debug/xmpp/sandesh
4.7%4.7%
4.7 % 1307 / 27858 16.5 % 225 / 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 % 1137 / 3871
build/include/gtest/internal
78.3%78.3%
78.3 % 934 / 1193 97.1 % 12432 / 12799
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.9 % 996 / 2324
build/include/sandesh/common
100.0%
100.0 % 137 / 137 89.8 % 53 / 59
build/include/sandesh/protocol
38.7%38.7%
38.7 % 211 / 545 39.0 % 122 / 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
86.5%86.5%
86.5 % 634 / 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.8%98.8%
98.8 % 711 / 720 98.2 % 56 / 57
controller/src/bgp
92.6%92.6%
92.6 % 21765 / 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.2%92.2%
92.2 % 1104 / 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 % 83151 / 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.9%88.9%
88.9 % 1319 / 1484 87.0 % 315 / 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
61.2%61.2%
61.2 % 854 / 1396 70.3 % 97 / 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 % 658 / 1387 68.2 % 107 / 157
controller/src/dns/test
99.8%99.8%
99.8 % 1016 / 1018 100.0 % 67 / 67
controller/src/ifmap
62.5%62.5%
62.5 % 3393 / 5433 71.0 % 540 / 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
49.2%49.2%
49.2 % 1820 / 3698 51.3 % 298 / 581
controller/src/ksync/test
99.3%99.3%
99.3 % 1369 / 1379 97.8 % 177 / 181
controller/src/net
94.2%94.2%
94.2 % 501 / 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
41.2%41.2%
41.2 % 351 / 851 64.8 % 59 / 91
controller/src/vnsw/agent/cmn
68.1%68.1%
68.1 % 1254 / 1841 65.7 % 511 / 778
controller/src/vnsw/agent/cmn/test
87.7%87.7%
87.7 % 613 / 699 85.2 % 138 / 162
controller/src/vnsw/agent/controller
21.9%21.9%
21.9 % 960 / 4379 44.9 % 166 / 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
11.9%11.9%
11.9 % 257 / 2162 26.3 % 76 / 289
controller/src/vnsw/agent/filter/test
98.0%98.0%
98.0 % 1547 / 1579 94.3 % 133 / 141
controller/src/vnsw/agent/init
72.0%72.0%
72.0 % 1648 / 2289 77.9 % 279 / 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
37.2%37.2%
37.2 % 672 / 1806 46.6 % 143 / 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
36.7%36.7%
36.7 % 12114 / 33022 48.6 % 2388 / 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 % 13327 / 13975 89.8 % 1033 / 1150
controller/src/vnsw/agent/pkt
46.8%46.8%
46.8 % 3907 / 8341 64.2 % 542 / 844
controller/src/vnsw/agent/pkt/flow_mgmt
71.6%71.6%
71.6 % 1075 / 1502 76.9 % 247 / 321
controller/src/vnsw/agent/pkt/test
94.2%94.2%
94.2 % 16104 / 17103 93.8 % 1344 / 1433
controller/src/vnsw/agent/port_ipc
24.3%24.3%
24.3 % 382 / 1570 40.5 % 77 / 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
18.6%18.6%
18.6 % 201 / 1082 23.2 % 66 / 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
21.2%21.2%
21.2 % 1840 / 8660 32.5 % 330 / 1016
controller/src/vnsw/agent/services/multicast/agent_map
80.8%80.8%
80.8 % 282 / 349 88.1 % 52 / 59
controller/src/vnsw/agent/services/multicast/gmp_map
40.4%40.4%
40.4 % 330 / 817 62.1 % 54 / 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
26.7%26.7%
26.7 % 8 / 30 100.0 % 1 / 1
controller/src/vnsw/agent/services/nix/linux
53.8%53.8%
53.8 % 129 / 240 69.0 % 20 / 29
controller/src/vnsw/agent/services/test
94.1%94.1%
94.1 % 7946 / 8443 93.2 % 449 / 482
controller/src/vnsw/agent/test
81.7%81.7%
81.7 % 20875 / 25566 72.4 % 1263 / 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
27.6%27.6%
27.6 % 1416 / 5129 42.1 % 221 / 525
controller/src/vnsw/agent/uve/test
91.1%91.1%
91.1 % 5002 / 5491 79.5 % 353 / 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
42.4%42.4%
42.4 % 1040 / 2454 51.0 % 156 / 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
47.9%47.9%
47.9 % 2906 / 6065 54.1 % 359 / 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
48.0%48.0%
48.0 % 110 / 229 58.0 % 29 / 50
controller/src/xmpp
84.5%84.5%
84.5 % 2724 / 3222 91.4 % 500 / 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 % 3273 / 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.8%73.8%
73.8 % 3944 / 5346 77.7 % 4698 / 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
82.9%82.9%
82.9 % 1224 / 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
8.0%8.0%
8.0 % 49 / 613 11.2 % 12 / 107
src/contrail-common/io
75.4%75.4%
75.4 % 1293 / 1715 79.1 % 208 / 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
36.3%36.3%
36.3 % 606 / 1671 46.9 % 92 / 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