LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: OpenSDN C/C++ coverage (single UT worker) Lines: 142073 482873 29.4 %
Date: 2026-04-27 10:43:58 Functions: 20465 50241 40.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/base/sandesh
5.8%5.8%
5.8 % 301 / 5150 23.1 % 88 / 381
build/debug/bgp
0.3%0.3%
0.3 % 6 / 2076 1.2 % 2 / 163
build/debug/db
0.0%
0.0 % 0 / 4 0.0 % 0 / 4
build/debug/dns/bind
8.1%8.1%
8.1 % 38 / 471 28.6 % 12 / 42
build/debug/ifmap
1.4%1.4%
1.4 % 19 / 1379 4.6 % 6 / 130
build/debug/io
2.8%2.8%
2.8 % 92 / 3326 10.1 % 20 / 198
build/debug/ksync
2.4%2.4%
2.4 % 19 / 795 13.6 % 6 / 44
build/debug/sandesh/common
20.4%20.4%
20.4 % 568 / 2780 14.7 % 19 / 129
build/debug/schema
14.8%14.8%
14.8 % 6684 / 45192 20.8 % 1037 / 4994
build/debug/tools/sandesh/compiler
60.0%60.0%
60.0 % 263 / 438 100.0 % 2 / 2
build/debug/tools/sandesh/library/common
2.2%2.2%
2.2 % 222 / 10076 3.9 % 24 / 615
build/debug/vnsw/agent/cmn
0.1%0.1%
0.1 % 2 / 1802 0.7 % 1 / 151
build/debug/vnsw/agent/controller
2.8%2.8%
2.8 % 152 / 5453 13.4 % 48 / 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.6%1.6%
1.6 % 957 / 58043 7.4 % 325 / 4366
build/debug/vnsw/agent/pkt
1.4%1.4%
1.4 % 188 / 13534 6.6 % 60 / 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.9%0.9%
0.9 % 146 / 17049 4.2 % 56 / 1335
build/debug/vnsw/agent/uve
1.7%1.7%
1.7 % 364 / 21871 13.0 % 200 / 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.9%6.9%
6.9 % 358 / 5216 34.1 % 121 / 355
build/debug/vnsw/agent/vrouter/stats_collector
2.4%2.4%
2.4 % 14 / 583 6.8 % 5 / 74
build/debug/vrouter/sandesh
26.1%26.1%
26.1 % 4603 / 17649 40.4 % 323 / 800
build/debug/xmpp/sandesh
0.5%0.5%
0.5 % 135 / 27838 2.7 % 36 / 1351
build/include/gmock
21.4%21.4%
21.4 % 60 / 280 22.1 % 17 / 77
build/include/gmock/internal
33.3%33.3%
33.3 % 3 / 9 33.3 % 1 / 3
build/include/gtest
45.5%45.5%
45.5 % 60 / 132 23.7 % 181 / 764
build/include/gtest/internal
45.5%45.5%
45.5 % 35 / 77 97.1 % 1813 / 1868
build/include/http
19.5%19.5%
19.5 % 8 / 41 28.6 % 4 / 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/pugixml
100.0%
100.0 % 10 / 10 100.0 % 2 / 2
build/include/sandesh
31.4%31.4%
31.4 % 410 / 1304 38.2 % 608 / 1591
build/include/sandesh/common
0.0%
0.0 % 0 / 3 0.0 % 0 / 6
build/include/sandesh/protocol
28.8%28.8%
28.8 % 155 / 539 23.4 % 73 / 312
build/include/sandesh/transport
48.3%48.3%
48.3 % 73 / 151 46.0 % 23 / 50
controller/lib/boost/asio
0.0%
0.0 % 0 / 20 0.0 % 0 / 10
controller/src/bfd
3.2%3.2%
3.2 % 21 / 659 7.1 % 9 / 127
controller/src/bgp
0.0%
0.0 % 0 / 42 0.0 % 0 / 20
controller/src/db
66.4%66.4%
66.4 % 964 / 1452 70.3 % 242 / 344
controller/src/dns/bind
6.2%6.2%
6.2 % 61 / 985 15.6 % 14 / 90
controller/src/ifmap
62.2%62.2%
62.2 % 762 / 1226 65.3 % 111 / 170
controller/src/ifmap/test
58.6%58.6%
58.6 % 68 / 116 58.3 % 7 / 12
controller/src/ksync
42.6%42.6%
42.6 % 1574 / 3698 48.2 % 280 / 581
controller/src/net
71.4%71.4%
71.4 % 85 / 119 70.0 % 28 / 40
controller/src/route
100.0%
100.0 % 37 / 37 85.7 % 12 / 14
controller/src/sandesh/common
0.0%
0.0 % 0 / 180 0.0 % 0 / 6
controller/src/vnsw/agent/cfg
42.0%42.0%
42.0 % 357 / 851 64.8 % 59 / 91
controller/src/vnsw/agent/cmn
69.5%69.5%
69.5 % 1280 / 1841 68.6 % 534 / 778
controller/src/vnsw/agent/cmn/test
87.7%87.7%
87.7 % 613 / 699 85.2 % 138 / 162
controller/src/vnsw/agent/controller
40.4%40.4%
40.4 % 1770 / 4379 58.1 % 215 / 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
41.2%41.2%
41.2 % 890 / 2160 51.6 % 149 / 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.4%72.4%
72.4 % 1658 / 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
39.0%39.0%
39.0 % 705 / 1806 48.9 % 150 / 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
41.8%41.8%
41.8 % 13800 / 33022 53.9 % 2650 / 4916
controller/src/vnsw/agent/oper/nix
0.0%
0.0 % 0 / 32 0.0 % 0 / 4
controller/src/vnsw/agent/oper/test
96.4%96.4%
96.4 % 13473 / 13975 92.4 % 1063 / 1150
controller/src/vnsw/agent/pkt
49.6%49.6%
49.6 % 4135 / 8341 65.5 % 553 / 844
controller/src/vnsw/agent/pkt/flow_mgmt
73.4%73.4%
73.4 % 1103 / 1502 77.9 % 250 / 321
controller/src/vnsw/agent/pkt/test
94.0%94.0%
94.0 % 16085 / 17103 93.7 % 1343 / 1433
controller/src/vnsw/agent/port_ipc
24.3%24.3%
24.3 % 381 / 1570 40.0 % 76 / 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
28.4%28.4%
28.4 % 2457 / 8660 46.1 % 468 / 1016
controller/src/vnsw/agent/services/multicast/agent_map
79.7%79.7%
79.7 % 278 / 349 88.1 % 52 / 59
controller/src/vnsw/agent/services/multicast/gmp_map
36.7%36.7%
36.7 % 300 / 817 55.2 % 48 / 87
controller/src/vnsw/agent/services/multicast/grpmgmt
62.3%62.3%
62.3 % 2584 / 4146 76.7 % 293 / 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 % 7945 / 8443 93.2 % 449 / 482
controller/src/vnsw/agent/test
80.9%80.9%
80.9 % 20681 / 25566 71.2 % 1242 / 1745
controller/src/vnsw/agent/test-xml
69.2%69.2%
69.2 % 1312 / 1896 66.8 % 203 / 304
controller/src/vnsw/agent/test/linux
0.0%
0.0 % 0 / 57 0.0 % 0 / 5
controller/src/vnsw/agent/uve
33.0%33.0%
33.0 % 1693 / 5129 48.2 % 253 / 525
controller/src/vnsw/agent/uve/test
91.2%91.2%
91.2 % 5009 / 5491 79.7 % 354 / 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
43.6%43.6%
43.6 % 1070 / 2454 51.3 % 157 / 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
48.8%48.8%
48.8 % 2961 / 6065 54.0 % 358 / 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
38.0%38.0%
38.0 % 87 / 229 48.0 % 24 / 50
controller/src/xmpp
18.7%18.7%
18.7 % 598 / 3201 27.9 % 149 / 534
src/contrail-common/base
52.3%52.3%
52.3 % 2154 / 4115 50.9 % 1272 / 2500
src/contrail-common/base/linux
0.0%
0.0 % 0 / 52 0.0 % 0 / 4
src/contrail-common/base/test
23.2%23.2%
23.2 % 22 / 95 23.1 % 3 / 13
src/contrail-common/http
4.8%4.8%
4.8 % 13 / 269 10.2 % 5 / 49
src/contrail-common/http/client
8.0%8.0%
8.0 % 49 / 613 11.2 % 12 / 107
src/contrail-common/io
31.5%31.5%
31.5 % 470 / 1491 36.8 % 81 / 220
src/contrail-common/io/nix
66.7%66.7%
66.7 % 12 / 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
54.3%54.3%
54.3 % 873 / 1607 71.0 % 22 / 31
src/contrail-common/sandesh/compiler/generate
40.7%40.7%
40.7 % 4481 / 11023 46.1 % 225 / 488
src/contrail-common/sandesh/compiler/parse
69.8%69.8%
69.8 % 623 / 893 75.1 % 193 / 257
src/contrail-common/sandesh/library/cpp
25.4%25.4%
25.4 % 988 / 3896 27.3 % 167 / 611
src/contrail-common/sandesh/library/cpp/protocol
8.5%8.5%
8.5 % 142 / 1671 17.3 % 34 / 196
src/contrail-common/sandesh/library/cpp/transport
1.2%1.2%
1.2 % 3 / 254 3.1 % 2 / 64
vrouter/utils
6.9%6.9%
6.9 % 78 / 1130 9.1 % 10 / 110

Generated by: LCOV version 1.14