Coverity Scan: Knot-DNS

Project Name Knot-DNS
Lines of code analyzed 223,924
On Coverity Scan since Nov 06, 2012
Last build analyzed 2 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\+1749927402.6a991945c

Jun 22, 2025
Last Analyzed
223,924
Lines of Code Analyzed
107,161
Lines of Code in Selected Components
0.89
Defect Density

Defect changes since previous build dated Jun 15, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

876
Total defects
95
Outstanding
750
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 738 N/A
lmdb .*/src/contrib/lmdb/.* Yes 0 N/A
libbpf .*/src/contrib/libbpf/.* Yes 0 N/A
contrib .*/src/contrib/.* No 7,037 1.42
libknot .*/src/libknot/.* No 17,474 0.17
libdnssec .*/src/libdnssec/.* No 4,169 0.24
libzscanner .*/src/libzscanner/.* No 10,850 0.09
utils .*/src/utils/.* No 18,424 0.22
knot .*/src/knot/.* No 49,207 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