Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 9,267,699
On Coverity Scan since Mar 21, 2012
Last build analyzed 6 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.3.0-devel

Aug 16, 2025
Last Analyzed
9,267,699
Lines of Code Analyzed
0.49
Defect Density

Defect changes since previous build dated Aug 10, 2025

11
Newly detected
23
Eliminated

Defects by status for current build

11,580
Total defects
4,543
Outstanding
6,930
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,223 0.45
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 95,091 0.73
nir .*/src/compiler/nir/.* No 2,693,564 0.19
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 729,611 0.81
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 143,721 0.36
panfrost .*(/panfrost/|/lima/).* No 369,579 0.22
etnaviv .*/etnaviv/.* No 71,976 0.29
zink .*/zink/.* No 47,584 1.22
virgl .*/virgl/.* No 10,807 0.00
svga .*/svga/.* No 55,062 0.94
softpipe .*/softpipe/.* No 11,642 2.32
llvmpipe .*/llvmpipe/.* No 30,039 1.07
glsl .*/compiler/glsl/.* No 81,901 0.62
spirv .*/compiler/spirv/.* No 25,542 0.59
imagination .*/imagination/.* No 115,885 0.30
intel .*(/intel/|/iris/).* No 1,312,788 0.15
Other .* No 3,345,864 0.81

CWE Top 25 defects

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