Coverity Scan: Knot-DNS

Project Name Knot-DNS
Lines of code analyzed 224,367
On Coverity Scan since Nov 06, 2012
Last build analyzed 5 days ago
   
Language C/C++
Repository URL https://gitlab.labs.nic.cz/knot/knot-dns.git
Homepage URL https://www.knot-dns.cz/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 3.5.dev0\+1753459635.048c94982

Jul 27, 2025
Last Analyzed
224,367
Lines of Code Analyzed
107,573
Lines of Code in Selected Components
0.88
Defect Density

Defect changes since previous build dated Jul 20, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

879
Total defects
95
Outstanding
751
Fixed
See how defect density for 'Knot-DNS' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
Coverity Internal (/opt/cov|/cov-int/emit/).* Yes 0 N/A
System Files /usr/(include|lib)/.* Yes 100,031 N/A
config_h .*/src/config.h Yes 116 N/A
tests .*/tests/.* Yes 15,878 N/A
tests-fuzz .*/tests-fuzz/.* Yes 769 N/A
lmdb .*/src/contrib/lmdb/.* Yes 0 N/A
libbpf .*/src/contrib/libbpf/.* Yes 0 N/A
contrib .*/src/contrib/.* No 7,044 1.42
libknot .*/src/libknot/.* No 17,582 0.17
libdnssec .*/src/libdnssec/.* No 4,180 0.24
libzscanner .*/src/libzscanner/.* No 10,850 0.09
utils .*/src/utils/.* No 18,526 0.22
knot .*/src/knot/.* No 49,464 0.51
libngtcp2 .*/src/contrib/libngtcp2/.* Yes 0 N/A
Other .* No 0 N/A

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 13
676 Use of Potentially Dangerous Function 8
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project