Coverity Scan: Mesa

Project Name Mesa
Lines of code analyzed 4,791,467
On Coverity Scan since Mar 21, 2012
Last build analyzed 8 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: 22.0.0-devel

Nov 20, 2021
Last Analyzed
4,791,467
Lines of Code Analyzed
0.36
Defect Density

Defect changes since previous build dated Nov 13, 2021

14
Newly detected
5
Eliminated

Defects by status for current build

5,697
Total defects
1,738
Outstanding
3,819
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 156,566 0.24
Gallium-Nouveau .*/gallium/.*/nouveau/.* No 97,841 0.31
DRI-Nouveau .*/mesa/drivers/.*/nouveau/.* No 13,660 0.15
nir .*/src/compiler/nir/.* No 1,107,910 0.05
rbug .*/src/gallium/.*/rbug/.* No 2,360 20.34
amd .*(/amd/|/amdgpu/|radeon|r200|r300|r600).* No 431,650 0.58
broadcom .*(/broadcom/|/vc4/|/v3d/).* No 105,392 0.31
panfrost .*(/panfrost/|/lima/).* No 110,081 0.43
etnaviv .*/etnaviv/.* No 19,608 0.82
zink .*/zink/.* No 28,226 0.85
virgl .*/virgl/.* No 8,548 0.35
swr .*/swr/.* No 66,399 0.74
svga .*/svga/.* No 49,905 0.56
softpipe .*/softpipe/.* No 11,975 1.42
llvmpipe .*/llvmpipe/.* No 27,182 0.81
glsl .*/compiler/glsl/.* No 91,758 0.58
spirv .*/compiler/spirv/.* No 17,718 0.40
Other .* No 2,470,149 0.41

CWE Top 25 defects

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