Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 8,976,624
On Coverity Scan since Mar 21, 2012
Last build analyzed 12 days ago
   
Language C/C++
Repository URL git://anongit.freedesktop.org/mesa/mesa
Homepage URL http://www.mesa3d.org
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 25.2.0-devel

Jun 21, 2025
Last Analyzed
8,976,624
Lines of Code Analyzed
0.51
Defect Density

Defect changes since previous build dated Jun 07, 2025

26
Newly detected
32
Eliminated

Defects by status for current build

11,368
Total defects
4,557
Outstanding
6,697
Fixed
See how defect density for 'Mesa' 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
Main .*/mesa/main/.* No 117,023 0.44
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 95,106 0.80
nir .*/src/compiler/nir/.* No 2,609,931 0.19
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 721,587 0.86
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 142,882 0.36
panfrost .*(/panfrost/|/lima/).* No 326,313 0.23
etnaviv .*/etnaviv/.* No 71,139 0.24
zink .*/zink/.* No 47,775 1.21
virgl .*/virgl/.* No 10,767 0.28
svga .*/svga/.* No 55,059 0.94
softpipe .*/softpipe/.* No 11,649 2.32
llvmpipe .*/llvmpipe/.* No 30,004 1.10
glsl .*/compiler/glsl/.* No 82,571 0.58
spirv .*/compiler/spirv/.* No 25,059 0.52
imagination .*/imagination/.* No 113,530 0.30
intel .*(/intel/|/iris/).* No 1,306,777 0.15
Other .* No 3,223,074 0.84

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 15
131 Incorrect Calculation of Buffer Size 2
190 Integer Overflow or Wraparound 578
676 Use of Potentially Dangerous Function 413
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