Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 8,259,952
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: 24.2.0-devel

Jul 14, 2024
Last Analyzed
8,259,952
Lines of Code Analyzed
0.46
Defect Density

Defect changes since previous build dated Jun 23, 2024

49
Newly detected
36
Eliminated

Defects by status for current build

9,611
Total defects
3,767
Outstanding
5,736
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 138,907 0.39
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 57,395 0.77
nir .*/src/compiler/nir/.* No 1,934,589 0.25
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 648,020 0.87
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 137,094 0.44
panfrost .*(/panfrost/|/lima/).* No 241,873 0.33
etnaviv .*/etnaviv/.* No 64,542 0.29
zink .*/zink/.* No 47,768 1.32
virgl .*/virgl/.* No 10,843 0.37
svga .*/svga/.* No 55,106 0.83
softpipe .*/softpipe/.* No 11,813 2.79
llvmpipe .*/llvmpipe/.* No 29,396 1.33
glsl .*/compiler/glsl/.* No 84,812 0.52
spirv .*/compiler/spirv/.* No 23,131 0.48
imagination .*/imagination/.* No 94,810 0.33
intel .*(/intel/|/iris/).* No 2,036,738 0.09
Other .* No 2,861,421 0.71

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 372
676 Use of Potentially Dangerous Function 304
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