Coverity Scan: ScummVM

Project Name ScummVM
Lines of code analyzed 4,484,840
On Coverity Scan since Apr 15, 2013
Last build analyzed 5 days 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

Nov 18, 2024
Last Analyzed
4,484,840
Lines of Code Analyzed
0.71
Defect Density

Defect changes since previous build dated Nov 11, 2024

24
Newly detected
47
Eliminated

Defects by status for current build

12,787
Total defects
3,187
Outstanding
7,441
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,657 1.18
backends /backends/.* No 92,619 0.72
base /base/.* No 3,587 0.28
common /common/.* No 50,092 1.26
devtools /devtools/.* No 307,222 0.60
engines /engines/[^/]+\.[ch]p?p? No 5,346 0.00
graphics /graphics/.* No 77,192 0.38
gui /gui/.* No 35,458 0.87
image /image/.* No 19,881 0.86
math /math/.* No 4,353 0.00
video /video/.* No 21,412 1.54
engine-access /engines/access/.* No 13,248 0.15
engine-adl /engines/adl/.* No 6,960 0.29
engine-agi /engines/agi/.* No 24,256 0.58
engine-agos /engines/agos/.* No 38,976 1.18
engine-ags /engines/ags/.* No 119,290 1.57
engine-avalanche /engines/avalanche/.* No 12,092 0.50
engine-bbvs /engines/bbvs/.* No 10,163 0.59
engine-bladerunner /engines/bladerunner/.* No 111,815 0.14
engine-buried /engines/buried/.* No 24,781 0.32
engine-cge /engines/cge/.* No 6,287 0.00
engine-cge2 /engines/cge2/.* No 6,670 0.30
engine-chewy /engines/chewy/.* No 33,948 1.00
engine-cine /engines/cine/.* No 13,161 0.08
engine-composer /engines/composer/.* No 3,931 1.27
engine-cruise /engines/cruise/.* No 13,549 0.15
engine-cryo /engines/cryo/.* No 10,860 1.38
engine-cryomni3d /engines/cryomni3d/.* No 15,308 0.07
engine-director /engines/director/.* No 69,744 0.76
engine-dm /engines/dm/.* No 21,075 3.18
engine-draci /engines/draci/.* No 6,064 0.49
engine-dragons /engines/dragons/.* No 16,062 0.19
engine-drascula /engines/drascula/.* No 8,509 0.12
engine-dreamweb /engines/dreamweb/.* No 13,918 0.29
engine-glk /engines/glk/.* No 202,768 1.32
engine-gnap /engines/gnap/.* No 27,381 0.18
engine-gob /engines/gob/.* No 55,138 0.25
engine-griffon /engines/griffon/.* No 7,366 0.68
engine-grim /engines/grim/.* No 47,179 0.66
engine-groovie /engines/groovie/.* No 12,843 2.26
engine-hadesch /engines/hadesch/.* No 16,418 1.77
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,258 2.81
engine-illusions /engines/illusions/.* No 19,959 2.76
engine-kingdom /engines/kingdom/.* No 12,645 0.08
engine-kyra /engines/kyra/.* No 109,002 0.31
engine-lab /engines/lab/.* No 6,036 0.33
engine-lastexpress /engines/lastexpress/.* No 57,167 0.16
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 2.26
engine-made /engines/made/.* No 6,674 0.90
engine-mads /engines/mads/.* No 81,297 0.10
engine-mohawk /engines/mohawk/.* No 40,327 0.64
engine-mortevielle /engines/mortevielle/.* No 8,357 0.84
engine-mutationofjb /engines/mutationofjb/.* No 7,213 0.28
engine-myst3 /engines/myst3/.* No 14,448 0.62
engine-nancy /engines/nancy/.* No 28,758 0.17
engine-neverhood /engines/neverhood/.* No 38,633 0.98
engine-ngi /engines/ngi/.* No 31,759 0.50
engine-parallaction /engines/parallaction/.* No 16,188 0.19
engine-pegasus /engines/pegasus/.* No 45,473 0.81
engine-petka /engines/petka/.* No 6,520 0.31
engine-pink /engines/pink/.* No 7,034 0.00
engine-plumbers /engines/plumbers/.* No 1,316 1.52
engine-prince /engines/prince/.* No 11,735 1.53
engine-private /engines/private/.* No 6,199 0.32
engine-queen /engines/queen/.* No 16,854 1.42
engine-saga /engines/saga/.* No 27,558 0.69
engine-scumm /engines/scumm/.* No 153,466 0.46
engine-sci /engines/sci/.* No 100,110 0.43
engine-sherlock /engines/sherlock/.* No 30,974 0.23
engine-sky /engines/sky/.* No 18,508 0.65
engine-sludge /engines/sludge/.* No 11,464 1.66
engine-stark /engines/stark/.* No 28,162 0.07
engine-startrek /engines/startrek/.* No 37,806 0.50
engine-supernova /engines/supernova/.* No 17,405 2.70
engine-sword1 /engines/sword1/.* No 27,462 0.51
engine-sword2 /engines/sword2/.* No 15,261 1.57
engine-sword25 /engines/sword25/.* No 13,657 0.95
engine-teenagent /engines/teenagent/.* No 9,678 0.31
engine-testbed /engines/testbed/.* No 5,207 0.38
engine-tinsel /engines/tinsel/.* No 31,700 2.21
engine-titanic /engines/titanic/.* No 72,619 0.69
engine-toltecs /engines/toltecs/.* No 6,023 0.83
engine-tony /engines/tony/.* No 16,618 0.42
engine-toon /engines/toon/.* No 12,202 0.41
engine-touche /engines/touche/.* No 9,107 0.00
engine-tsage /engines/tsage/.* No 106,119 0.11
engine-tucker /engines/tucker/.* No 11,008 0.73
engine-twine /engines/twine/.* No 25,349 0.47
engine-ultima /engines/ultima/.* No 169,832 0.70
engine-voyeur /engines/voyeur/.* No 7,982 0.13
engine-wage /engines/wage/.* No 5,777 0.17
engine-wintermute /engines/wintermute/.* No 66,061 0.33
engine-xeen /engines/xeen/.* No 0 N/A
engine-zvision /engines/zvision/.* No 12,285 0.73
engine-asylum /engines/asylum/.* No 25,901 0.31
engine-trecision /engines/trecision/.* No 14,945 0.47
engine-saga2 /engines/saga2/.* No 60,861 0.44
engine-hypno /engines/hypno/.* No 18,419 0.05
engine-playground3d /engines/playground3d/.* No 1,369 0.00
engine-mtropolis /engines/mtropolis/.* No 42,595 0.38
engine-freescape /engines/freescape/.* No 17,919 0.33
engine-hpl1 /engines/hpl1/.* No 194,413 2.35
engine-tetraedge /engines/tetraedge/.* No 34,561 0.20
engine-mm /engines/mm/.* No 75,349 0.46
engine-efh /engines/efh/.* No 7,892 0.25
engine-immortal /engines/immortal/.* No 3,873 2.84
engine-chamber /engines/chamber/.* No 9,715 0.93
engine-vcruise /engines/vcruise/.* No 13,761 0.29
engine-watchmaker /engines/watchmaker/.* No 34,762 1.44
engine-crab /engines/crab/.* No 19,848 0.00
engine-m4 /engines/m4/.* No 128,615 0.46
engine-twp /engines/twp/.* No 34,522 0.26
engine-bagel /engines/bagel/.* No 39,480 0.03
engine-dgds /engines/dgds/.* No 21,787 0.09
engine-qdengine /engines/qdengine/.* No 48,958 0.00
engine-darkseed /engines/darkseed/.* No 12,425 0.08
Other .* No 218,869 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 308
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