Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 7,696,715
On Coverity Scan since Mar 21, 2012
Last build analyzed 15 days ago
Language C/C++
Repository URL git://
Homepage URL
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 24.2.0-devel

Jun 02, 2024
Last Analyzed
Lines of Code Analyzed
Defect Density

Defect changes since previous build dated May 26, 2024

Newly detected

Defects by status for current build

Total defects
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 138,818 0.37
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 57,328 0.58
nir .*/src/compiler/nir/.* No 1,704,217 0.27
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 651,339 0.81
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 138,134 0.38
panfrost .*(/panfrost/|/lima/).* No 212,527 0.31
etnaviv .*/etnaviv/.* No 64,126 0.22
zink .*/zink/.* No 47,632 1.20
virgl .*/virgl/.* No 10,843 0.09
svga .*/svga/.* No 55,127 0.80
softpipe .*/softpipe/.* No 11,813 2.71
llvmpipe .*/llvmpipe/.* No 29,124 1.10
glsl .*/compiler/glsl/.* No 85,727 0.49
spirv .*/compiler/spirv/.* No 21,314 0.47
imagination .*/imagination/.* No 95,478 0.24
intel .*(/intel/|/iris/).* No 1,881,962 0.07
Other .* No 2,846,737 0.60

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 13
190 Integer Overflow or Wraparound 158
676 Use of Potentially Dangerous Function 304





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