Coverity Scan: argrath/NetHack

Project Name argrath/NetHack
Lines of code analyzed 252,172
On Coverity Scan since Apr 18, 2020
Last build analyzed 17 days ago
   
Language C/C++
Repository URL https://github.com/argrath/NetHack.git
Homepage URL https://github.com/argrath/NetHack
License NGPL (Nethack General Public License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 20251001

Oct 04, 2025
Last Analyzed
252,172
Lines of Code Analyzed
231,201
Lines of Code in Selected Components
0.48
Defect Density

Defect changes since previous build dated May 25, 2025

2
Newly detected
45
Eliminated

Defects by status for current build

861
Total defects
111
Outstanding
607
Fixed
See how defect density for 'argrath/NetHack' 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
lib /lib/.* Yes 18,781 N/A
util /util/.* Yes 2,190 N/A
main /src/.* No 188,226 0.42
Other .* No 44,285 0.09

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 46
190 Integer Overflow or Wraparound 6
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