Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 6,156,528
On Coverity Scan since Mar 21, 2012
Last build analyzed 13 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: 23.1.0-devel

Mar 13, 2023
Last Analyzed
6,156,528
Lines of Code Analyzed
0.38
Defect Density

Defect changes since previous build dated Mar 06, 2023

10
Newly detected
4
Eliminated

Defects by status for current build

7,516
Total defects
2,316
Outstanding
5,082
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 144,880 0.30
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 56,032 0.62
DRI-Nouveau .*/mesa/drivers/.*/nouveau/.* No 0 N/A
nir .*/src/compiler/nir/.* No 1,529,381 0.04
rbug .*/src/gallium/.*/rbug/.* No 0 N/A
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 528,066 0.73
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 119,804 0.34
panfrost .*(/panfrost/|/lima/).* No 196,623 0.37
etnaviv .*/etnaviv/.* No 18,312 0.71
zink .*/zink/.* No 41,093 1.17
virgl .*/virgl/.* No 10,084 0.60
swr .*/swr/.* No 0 N/A
svga .*/svga/.* No 54,958 0.69
softpipe .*/softpipe/.* No 11,822 2.71
llvmpipe .*/llvmpipe/.* No 27,659 0.80
glsl .*/compiler/glsl/.* No 86,607 0.45
spirv .*/compiler/spirv/.* No 18,644 0.43
imagination .*/imagination/.* No 82,229 0.22
Other .* No 3,236,343 0.45

CWE Top 25 defects

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