Coverity Scan: ScummVM

Project Name ScummVM
Lines of code analyzed 4,377,578
On Coverity Scan since Apr 15, 2013
Last build analyzed 1 day ago
   
Language C/C++
Repository URL https://github.com/scummvm/scummvm
Homepage URL http://scummvm.org
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 2.9.0

Sep 09, 2024
Last Analyzed
4,377,578
Lines of Code Analyzed
1.11
Defect Density

Defect changes since previous build dated Sep 02, 2024

4
Newly detected
28
Eliminated

Defects by status for current build

12,609
Total defects
4,842
Outstanding
7,212
Fixed
See how defect density for 'ScummVM' 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
audio-munt /audio/softsynth/mt32/.* No 10,992 0.55
audio /audio/.* No 46,565 1.59
backends /backends/.* No 74,554 0.94
base /base/.* No 3,586 3.07
common /common/.* No 49,894 1.80
devtools /devtools/.* No 298,538 0.85
engines /engines/[^/]+\.[ch]p?p? No 5,305 2.07
graphics /graphics/.* No 77,215 0.47
gui /gui/.* No 35,318 1.59
image /image/.* No 19,853 0.86
math /math/.* No 4,353 0.23
video /video/.* No 21,412 1.73
engine-access /engines/access/.* No 13,248 0.60
engine-adl /engines/adl/.* No 6,956 0.43
engine-agi /engines/agi/.* No 24,097 0.79
engine-agos /engines/agos/.* No 38,951 1.28
engine-ags /engines/ags/.* No 117,806 1.86
engine-avalanche /engines/avalanche/.* No 12,092 4.38
engine-bbvs /engines/bbvs/.* No 10,163 0.59
engine-bladerunner /engines/bladerunner/.* No 111,803 0.28
engine-buried /engines/buried/.* No 24,781 0.48
engine-cge /engines/cge/.* No 6,287 0.00
engine-cge2 /engines/cge2/.* No 6,670 0.45
engine-chewy /engines/chewy/.* No 33,955 1.00
engine-cine /engines/cine/.* No 13,161 0.68
engine-composer /engines/composer/.* No 3,931 1.78
engine-cruise /engines/cruise/.* No 13,549 0.15
engine-cryo /engines/cryo/.* No 10,860 1.38
engine-cryomni3d /engines/cryomni3d/.* No 15,309 0.13
engine-director /engines/director/.* No 69,798 1.72
engine-dm /engines/dm/.* No 21,075 3.23
engine-draci /engines/draci/.* No 6,064 0.49
engine-dragons /engines/dragons/.* No 16,062 0.25
engine-drascula /engines/drascula/.* No 8,504 0.12
engine-dreamweb /engines/dreamweb/.* No 13,915 0.43
engine-glk /engines/glk/.* No 202,760 1.37
engine-gnap /engines/gnap/.* No 27,381 0.18
engine-gob /engines/gob/.* No 55,108 0.47
engine-griffon /engines/griffon/.* No 7,366 0.68
engine-grim /engines/grim/.* No 47,106 1.19
engine-groovie /engines/groovie/.* No 12,839 2.34
engine-hadesch /engines/hadesch/.* No 16,412 3.78
engine-hdb /engines/hdb/.* No 27,179 0.22
engine-hopkins /engines/hopkins/.* No 19,831 0.30
engine-hugo /engines/hugo/.* No 9,977 0.20
engine-icb /engines/icb/.* No 55,256 2.84
engine-illusions /engines/illusions/.* No 19,913 3.16
engine-kingdom /engines/kingdom/.* No 12,645 0.08
engine-kyra /engines/kyra/.* No 108,918 0.31
engine-lab /engines/lab/.* No 6,036 1.99
engine-lastexpress /engines/lastexpress/.* No 57,167 0.49
engine-lilliput /engines/lilliput/.* No 5,944 0.34
engine-lure /engines/lure/.* No 15,801 1.71
engine-macventure /engines/macventure/.* No 6,641 3.61
engine-made /engines/made/.* No 6,674 0.90
engine-mads /engines/mads/.* No 81,297 0.12
engine-mohawk /engines/mohawk/.* No 40,295 0.97
engine-mortevielle /engines/mortevielle/.* No 8,334 1.68
engine-mutationofjb /engines/mutationofjb/.* No 7,213 0.97
engine-myst3 /engines/myst3/.* No 14,328 0.77
engine-nancy /engines/nancy/.* No 28,758 0.24
engine-neverhood /engines/neverhood/.* No 38,622 1.04
engine-ngi /engines/ngi/.* No 31,747 0.54
engine-parallaction /engines/parallaction/.* No 16,188 0.19
engine-pegasus /engines/pegasus/.* No 45,473 0.86
engine-petka /engines/petka/.* No 6,520 0.61
engine-pink /engines/pink/.* No 7,034 0.00
engine-plumbers /engines/plumbers/.* No 1,316 2.28
engine-prince /engines/prince/.* No 11,735 1.62
engine-private /engines/private/.* No 6,199 2.42
engine-queen /engines/queen/.* No 16,854 1.42
engine-saga /engines/saga/.* No 27,556 0.73
engine-scumm /engines/scumm/.* No 145,977 1.21
engine-sci /engines/sci/.* No 98,844 0.73
engine-sherlock /engines/sherlock/.* No 30,778 0.62
engine-sky /engines/sky/.* No 18,494 0.65
engine-sludge /engines/sludge/.* No 11,446 1.75
engine-stark /engines/stark/.* No 28,162 0.71
engine-startrek /engines/startrek/.* No 37,805 1.93
engine-supernova /engines/supernova/.* No 17,405 3.05
engine-sword1 /engines/sword1/.* No 27,450 0.51
engine-sword2 /engines/sword2/.* No 15,230 1.64
engine-sword25 /engines/sword25/.* No 13,657 1.17
engine-teenagent /engines/teenagent/.* No 9,657 0.31
engine-testbed /engines/testbed/.* No 5,116 1.17
engine-tinsel /engines/tinsel/.* No 30,433 2.27
engine-titanic /engines/titanic/.* No 72,615 1.03
engine-toltecs /engines/toltecs/.* No 6,022 1.00
engine-tony /engines/tony/.* No 16,618 0.42
engine-toon /engines/toon/.* No 12,203 0.41
engine-touche /engines/touche/.* No 9,107 0.00
engine-tsage /engines/tsage/.* No 105,746 0.38
engine-tucker /engines/tucker/.* No 11,008 0.73
engine-twine /engines/twine/.* No 24,403 0.41
engine-ultima /engines/ultima/.* No 169,807 0.75
engine-voyeur /engines/voyeur/.* No 7,982 0.13
engine-wage /engines/wage/.* No 5,773 1.73
engine-wintermute /engines/wintermute/.* No 62,654 2.54
engine-xeen /engines/xeen/.* No 0 N/A
engine-zvision /engines/zvision/.* No 12,281 1.22
engine-asylum /engines/asylum/.* No 25,886 0.35
engine-trecision /engines/trecision/.* No 14,945 0.54
engine-saga2 /engines/saga2/.* No 60,863 0.49
engine-hypno /engines/hypno/.* No 18,382 2.56
engine-playground3d /engines/playground3d/.* No 1,369 0.00
engine-mtropolis /engines/mtropolis/.* No 42,285 0.61
engine-freescape /engines/freescape/.* No 16,626 2.95
engine-hpl1 /engines/hpl1/.* No 194,412 4.44
engine-tetraedge /engines/tetraedge/.* No 34,554 0.61
engine-mm /engines/mm/.* No 75,308 0.53
engine-efh /engines/efh/.* No 7,892 0.25
engine-immortal /engines/immortal/.* No 3,873 23.50
engine-chamber /engines/chamber/.* No 9,715 0.93
engine-vcruise /engines/vcruise/.* No 13,761 1.38
engine-watchmaker /engines/watchmaker/.* No 34,756 1.41
engine-crab /engines/crab/.* No 19,854 0.05
engine-m4 /engines/m4/.* No 97,441 0.50
engine-twp /engines/twp/.* No 34,522 0.26
engine-bagel /engines/bagel/.* No 39,481 0.03
engine-dgds /engines/dgds/.* No 11,830 0.93
engine-qdengine /engines/qdengine/.* No 42,884 0.70
Other .* No 218,104 0.00

CWE Top 25 defects

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