Coverity Scan: Knot-DNS

Project Name Knot-DNS
Lines of code analyzed 223,350
On Coverity Scan since Nov 06, 2012
Last build analyzed about 2 hours 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\+1744348271.e268929ae

Apr 13, 2025
Last Analyzed
223,350
Lines of Code Analyzed
106,573
Lines of Code in Selected Components
0.89
Defect Density

Defect changes since previous build dated Apr 06, 2025

1
Newly detected
0
Eliminated

Defects by status for current build

873
Total defects
95
Outstanding
747
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 99,875 N/A
config_h .*/src/config.h Yes 116 N/A
tests .*/tests/.* Yes 15,875 N/A
tests-fuzz .*/tests-fuzz/.* Yes 911 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,416 0.17
libdnssec .*/src/libdnssec/.* No 4,169 0.24
libzscanner .*/src/libzscanner/.* No 10,848 0.09
utils .*/src/utils/.* No 18,541 0.32
knot .*/src/knot/.* No 48,581 0.47
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