Coverity Scan: CZ-NIC/knot-resolver

Project Name CZ-NIC/knot-resolver
Lines of code analyzed 220,084
On Coverity Scan since Jan 13, 2015
Last build analyzed about 16 hours ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
Repository URL https://github.com/CZ-NIC/knot-resolver.git
Homepage URL https://knot-resolver.cz
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v6.2.0-43-g48c09b6d0

Mar 31, 2026
Last Analyzed
220,084
Lines of Code Analyzed
69,244
Lines of Code in Selected Components
0.40
Defect Density

Defect changes since previous build dated Mar 30, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

156
Total defects
28
Outstanding
101
Fixed
See how defect density for 'CZ-NIC/knot-resolver' 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
System Files /usr/(include|lib)/.* Yes 150,752 N/A
Dependencies .*/.local/(include|lib)/.* Yes 0 N/A
library .*/lib/.* No 43,128 0.21
modules .*/modules/.* No 3,341 0.60
tests .*/tests/.* Yes 88 N/A
lmdb .*/contrib/lmdb/.* Yes 0 N/A
client .*/daemon/kresc.* No 0 N/A
daemon .*/daemon/.* No 15,244 1.05
Other .* No 7,531 0.13

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 3
676 Use of Potentially Dangerous Function 1
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