Coverity Scan: mamedev/mame

Project Name mamedev/mame
Lines of code analyzed 4,769,679
On Coverity Scan since Jul 11, 2015
Last build analyzed 15 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: mame0227-109-g3f1d4bbc76d

Jan 05, 2021
Last Analyzed
4,769,679
Lines of Code Analyzed
4,115,924
Lines of Code in Selected Components
0.67
Defect Density

Defect changes since previous build dated Sep 22, 2019

1,247
Newly detected
6,581
Eliminated

Defects by status for current build

14,447
Total defects
2,757
Outstanding
11,658
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 541,505 N/A
msys64 /msys64/.* Yes 0 N/A
generated /build/generated/.* No 503,741 0.03
devices /src/devices/.* No 1,243,972 0.65
emu /src/emu/.* No 61,062 2.23
frontend /src/frontend/.* No 20,181 1.04
formats /src/lib/formats/.* No 35,233 2.55
netlist /src/lib/netlist/.* No 112,915 0.32
util /src/lib/util/.* No 24,027 2.37
mame /src/mame/.* No 2,106,017 0.27
osd /src/osd/.* No 30,240 1.03
tools /src/tools/.* No 39,117 1.82
zexall /src/zexall/.* No 0 N/A
System includes /usr/include/.* Yes 112,250 N/A
Other .* No 72,735 0.00

CWE Top 25 defects

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