Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 8,693,170
On Coverity Scan since Mar 21, 2012
Last build analyzed 1 day 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

Apr 27, 2025
Last Analyzed
8,693,170
Lines of Code Analyzed
0.52
Defect Density

Defect changes since previous build dated Apr 06, 2025

64
Newly detected
87
Eliminated

Defects by status for current build

11,185
Total defects
4,527
Outstanding
6,552
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 116,989 0.44
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 56,898 0.81
nir .*/src/compiler/nir/.* No 2,465,392 0.20
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 681,314 0.88
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 141,617 0.39
panfrost .*(/panfrost/|/lima/).* No 309,643 0.23
etnaviv .*/etnaviv/.* No 71,071 0.23
zink .*/zink/.* No 48,490 1.26
virgl .*/virgl/.* No 10,755 0.46
svga .*/svga/.* No 55,150 0.94
softpipe .*/softpipe/.* No 11,664 2.31
llvmpipe .*/llvmpipe/.* No 29,646 1.42
glsl .*/compiler/glsl/.* No 82,705 0.58
spirv .*/compiler/spirv/.* No 24,683 0.53
imagination .*/imagination/.* No 113,000 0.28
intel .*(/intel/|/iris/).* No 1,288,687 0.15
Other .* No 3,245,305 0.84

CWE Top 25 defects

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