Coverity Scan: mamedev/mame

Project Name mamedev/mame
Lines of code analyzed 5,031,139
On Coverity Scan since Jul 11, 2015
Last build analyzed 2 days ago
   
Language C/C++
Repository URL https://github.com/mamedev/mame
Homepage URL http://www.mamedev.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: mame0238-39-gc58e4b2a3e3

Nov 25, 2021
Last Analyzed
5,031,139
Lines of Code Analyzed
4,344,277
Lines of Code in Selected Components
0.61
Defect Density

Defect changes since previous build dated Nov 21, 2021

2
Newly detected
23
Eliminated

Defects by status for current build

21,457
Total defects
2,646
Outstanding
18,779
Fixed
See how defect density for 'mamedev/mame' 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
3rdparty /3rdparty/.* Yes 571,067 N/A
msys64 /msys64/.* Yes 0 N/A
generated /build/generated/.* No 514,307 0.03
devices /src/devices/.* No 1,270,464 0.61
emu /src/emu/.* No 58,894 1.53
frontend /src/frontend/.* No 20,138 0.25
formats /src/lib/formats/.* No 40,229 1.64
netlist /src/lib/netlist/.* No 112,915 0.32
util /src/lib/util/.* No 27,035 2.48
mame /src/mame/.* No 2,153,036 0.26
osd /src/osd/.* No 30,197 0.96
tools /src/tools/.* No 39,959 1.58
zexall /src/zexall/.* No 0 N/A
System includes /usr/include/.* Yes 115,795 N/A
Other .* No 74,169 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 12
190 Integer Overflow or Wraparound 33
676 Use of Potentially Dangerous Function 10
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