LCOV - code coverage report
Current view: top level Hit Total Coverage
Test: dpkg 1.21.11 C code coverage Lines: 5977 16253 36.8 %
Date: 2022-12-03 00:40:01 Functions: 633 1212 52.2 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: 2708 9502 28.5 %

Directory Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage Branches Sort by branch coverage
lib/compat
80.0%80.0%
80.0 % 4 / 5 100.0 % 1 / 1 50.0 % 1 / 2
lib/dpkg
52.3%52.3%
52.3 % 3365 / 6434 64.7 % 419 / 648 40.5 % 1472 / 3634
src/common
16.4%16.4%
16.4 % 24 / 146 23.5 % 4 / 17 15.9 % 14 / 88
src/deb
71.7%71.7%
71.7 % 577 / 805 74.5 % 35 / 47 59.9 % 284 / 474
src/divert
87.1%87.1%
87.1 % 337 / 387 96.3 % 26 / 27 75.6 % 183 / 242
src/main
0.9%0.9%
0.9 % 41 / 4715 2.4 % 5 / 207 0.6 % 16 / 2850
src/query
4.1%4.1%
4.1 % 16 / 390 7.7 % 2 / 26 0.5 % 1 / 192
src/split
51.2%51.2%
51.2 % 288 / 563 69.2 % 18 / 26 31.7 % 113 / 356
src/statoverride
9.7%9.7%
9.7 % 16 / 165 14.3 % 2 / 14 1.3 % 1 / 76
src/trigger
16.3%16.3%
16.3 % 15 / 92 20.0 % 2 / 10 2.4 % 1 / 42
scripts
73.873.8
73.8 % 13529 / 18324 88.1 % 1514 / 1719 55.1 % 2008 / 3644
utils
50.7%50.7%
50.7 % 1294 / 2551 63.0 % 119 / 189 40.2 % 622 / 1546

Generated by: LCOV version 1.16